Skip to content

Commit

Permalink
fix
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 14, 2024
1 parent 1ade826 commit 89cdd84
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ jobs:
conan remote add conan-center https://center.conan.io
- name: List remote Conan repositories

# List remote Conan repositories; should include Conan Center by default
run: |
# List remote Conan repositories
conan remote list
- name: build a package
Expand All @@ -76,9 +76,8 @@ jobs:
conan user -p ${{ secrets.JFROG_PASSWORD }} -r artifactory ${{ secrets.JFROG_USERNAME }}
# upload all packages
# Upload only the Conan recipe to the specified local repository, excluding binaries
if [ "${{ github.event.inputs.repository }}" = "production" ]; then
conan upload '*' -r default-conan-local -c
conan upload '*' -r artifactory -c
else
conan upload '*' -r testing -c
fi

0 comments on commit 89cdd84

Please sign in to comment.