Skip to content

Commit

Permalink
fix login
Browse files Browse the repository at this point in the history
Signed-off-by: Yellow Shine <[email protected]>
  • Loading branch information
yellow-shine committed Nov 15, 2024
1 parent a2eee47 commit 811f75a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ jobs:
- name: Upload
run: |
conan user -p ${{ secrets.JFROG_PASSWORD }} -r artifactory ${{ secrets.JFROG_USERNAME }}
# upload all packages
if [ "${{ github.event.inputs.repository }}" = "production" ]; then
conan user -p ${{ secrets.JFROG_PASSWORD }} -r default-conan-local ${{ secrets.JFROG_USERNAME }}
# upload to production repository
conan upload '*' -r default-conan-local -c
else
conan user -p ${{ secrets.JFROG_PASSWORD }} -r testing ${{ secrets.JFROG_USERNAME }}
# upload to testing repository
conan upload '*' -r testing -c
fi

0 comments on commit 811f75a

Please sign in to comment.