Skip to content

Commit

Permalink
Just use jobname for uploading artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Oct 13, 2024
1 parent 3847c79 commit 2c5fa61
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,11 @@ jobs:
cpack | tee cpack.out
filepath=$(sed -nr 's/.*package: (.+) generated\./\1/p' cpack.out)
echo "filepath=$filepath" >> "$GITHUB_OUTPUT"
echo "filename=$(basename $filepath)" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
if: inputs.publish-version
with:
name: ${{ steps.cpack.outputs.filename }}
name: ${{ github.job }}
path: ${{ steps.cpack.outputs.filepath }}

release:
Expand Down

0 comments on commit 2c5fa61

Please sign in to comment.