File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 11name : Export
22
33on :
4+ pull_request :
5+ paths :
6+ - ' .github/workflows/export.yml'
7+ - ' recipes/**'
48 push :
9+ branches :
10+ - main
511 paths :
612 - ' .github/workflows/export.yml'
713 - ' recipes/**'
2733 conan remote add --index 0 ${{ vars.CONAN_REMOTE_NAME }} ${{ vars.CONAN_REMOTE_URL }}
2834 echo "Added new conan remote '${{ vars.CONAN_REMOTE_NAME }}' at ${{ vars.CONAN_REMOTE_URL }}."
2935 - name : Log into Conan remote
36+ if : ${{ github.repository_owner == 'XRPLF' && github.event_name == 'push' }}
3037 run : |
3138 conan remote login ${{ vars.CONAN_REMOTE_NAME }} ${{ secrets.CONAN_REMOTE_USERNAME }} --password "${{ secrets.CONAN_REMOTE_PASSWORD }}"
3239 conan remote list-users
4148 - name : Upload the recipes (dry run)
4249 run : conan upload '*' --confirm --check --only-recipe --remote ${{ vars.CONAN_REMOTE_NAME }} --dry-run
4350 - name : Upload the recipes
44- if : ${{ github.ref_type == 'branch ' && github.ref_name == github.event.repository.default_branch }}
51+ if : ${{ github.repository_owner == 'XRPLF ' && github.event_name == 'push' }}
4552 run : conan upload '*' --confirm --check --only-recipe --remote ${{ vars.CONAN_REMOTE_NAME }}
You can’t perform that action at this time.
0 commit comments