Skip to content

Commit 4fb8e88

Browse files
committed
Add extra flags to check integrity and only upload the recipe
1 parent 26124f0 commit 4fb8e88

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/export.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,7 @@ jobs:
4141
conan export snappy/all --version=1.1.10
4242
conan export soci/all --version=4.0.3
4343
- name: Upload the recipes
44-
run: conan upload '*' --confirm --remote ${{ env.CONAN_REMOTE_NAME }}
44+
run: |
45+
conan upload '*' --confirm --check --only-recipe \
46+
--remote ${{ env.CONAN_REMOTE_NAME }} \
47+
${{ github.ref_type == 'branch' && github.ref_name == github.event.repository.default_branch && '' || '--dryrun'}}

0 commit comments

Comments
 (0)