Skip to content

Commit

Permalink
only install jfrog CLI for 'published' releases, not prereleases
Browse files Browse the repository at this point in the history
  • Loading branch information
qrkourier committed Jul 19, 2023
1 parent 41b0c01 commit 73d8312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/cpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ jobs:
if-no-files-found: error

- name: Configure jFrog CLI
if: ${{ github.event_name == 'release' && startsWith(github.ref, 'refs/tags/v') }}
if: ${{ github.event.release.published && startsWith(github.ref, 'refs/tags/v') }}
uses: jfrog/setup-jfrog-cli@v3
env:
JF_ENV_1: ${{ secrets.ZITI_ARTIFACTORY_CLI_CONFIG_PACKAGE_UPLOAD }}
Expand Down

0 comments on commit 73d8312

Please sign in to comment.