Skip to content

Commit

Permalink
Simplify syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1701c committed Oct 13, 2024
1 parent d84660f commit ba1de45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ jobs:
run: ctest -V

- name: CPack
if: ${{ inputs.publish-version != "" }}
if: inputs.publish-version
shell: bash
run: |
cpack | tee cpack.out
filepath=$(sed -nr 's/.*package: (.+) generated\./\1/p' cpack.out)
echo "filepath=$filepath" >> "$GITHUB_OUTPUT"
- uses: actions/upload-artifact@v4
if: ${{ inputs.publish-version != "" }}
if: inputs.publish-version
with:
path: ${{ steps.build.outputs.filepath }}

0 comments on commit ba1de45

Please sign in to comment.