Skip to content

Commit

Permalink
fix: use github.action_path
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcjkb committed Mar 19, 2023
1 parent f4457ef commit 638bfb0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ inputs:
template:
description: "Path to a rockspec template."
required: true
default: "resources/rockspec.template"
default: "${{ github.action_path }}/resources/rockspec.template"
upload:
description: |
Whether to upload to LuaRocks.
Expand All @@ -64,9 +64,7 @@ runs:
using: "composite"
steps:
- uses: cachix/install-nix-action@v20
- run: echo "${{ github.action_path }}" >> $GITHUB_PATH
shell: bash
- run: nix profile install ".#luarocks-tag-release-action"
- run: nix profile install "${{ github.action_path }}#luarocks-tag-release-action"
shell: bash
- run: luarocks-tag-release-action
env:
Expand Down

0 comments on commit 638bfb0

Please sign in to comment.