Skip to content

Commit

Permalink
fix(action): fix invalid reference format
Browse files Browse the repository at this point in the history
  • Loading branch information
boogermann committed Apr 21, 2024
1 parent 68542a2 commit 4aca7ca
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ runs:
run: |
revision_cmd=""
if [ -n "${{ inputs.revision }}" ]; then
revision_cmd="-c ${{ inputs.revision }}"
revision_cmd=" -c ${{ inputs.revision }}"
fi
docker run --rm -v ${{ github.workspace }}:/build raetro/quartus:${{ inputs.version }} \
quartus_sh --flow compile ${{ inputs.project_folder }}/${{ inputs.project }} $revision_cmd
cmd="docker run --rm -v ${{ github.workspace }}:/build raetro/quartus:${{ inputs.version }} quartus_sh --flow compile ${{ inputs.project_folder }}/${{ inputs.project }}${revision_cmd}"
echo "Running command: $cmd"
eval $cmd

0 comments on commit 4aca7ca

Please sign in to comment.