Skip to content

Commit

Permalink
Files must be referenced against the action path. (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
floitsch authored Feb 26, 2025
1 parent 67e546b commit c0ddf84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ runs:
local path="$1"
if [ -n "$path" ]; then # Check if path is not empty.
local output=$(mktemp)
toit run -- ${{ github.workspace }}/client/main.toit \
toit run -- ${{ github.action_path }}/client/main.toit \
--uri="${{ inputs.uri }}" \
--password="${{ inputs.password }}" \
--output="$output" \
Expand Down Expand Up @@ -108,7 +108,7 @@ runs:
$toitCommand = "toit"
$toitArgs = @(
"run", "--",
"$env:GITHUB_WORKSPACE/client/main.toit",
"${{ github.action_path }}/client/main.toit",
"--uri", "${{ inputs.uri }}",
"--password", "${{ inputs.password }}",
"--output", "$outputFile.FullName",
Expand Down

0 comments on commit c0ddf84

Please sign in to comment.