File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,15 +79,16 @@ jobs:
7979 token : ${{ secrets.CRATES_IO }}
8080
8181 test : # Run all tests
82- if : github.event.pull_request.head.repo.full_name == github.repository
82+ if : github.event.pull_request.head.repo.full_name == github.repository || startsWith(github.ref, 'refs/tags/')
8383 uses : ./.github/workflows/test_all.yml
8484 secrets : inherit
8585 with :
8686 toolchain : ${{ inputs.toolchain }}
8787 debug_or_release : ${{ inputs.debug_or_release }}
8888
8989 public_documentation :
90- if : github.repository == 'Cosmian/kms' && !startsWith(github.ref_name, 'dependabot/') && github.event.pull_request.head.repo.full_name == github.repository
90+ if : github.repository == 'Cosmian/kms' && !startsWith(github.ref_name, 'dependabot/') || github.event.pull_request.head.repo.full_name == github.repository
91+ || startsWith(github.ref, 'refs/tags/')
9192 runs-on : ubuntu-latest
9293
9394 steps :
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ jobs:
2424 archive-name : windows
2525
2626 docker :
27- if : github.event.pull_request.head.repo.full_name == github.repository
27+ if : github.event.pull_request.head.repo.full_name == github.repository || startsWith(github.ref, 'refs/tags/')
2828 uses : ./.github/workflows/packaging-docker.yml
2929 with :
3030 toolchain : ${{ inputs.toolchain }}
3131
3232 packages :
33+ if : github.event.pull_request.head.repo.full_name == github.repository || startsWith(github.ref, 'refs/tags/')
3334 name : ${{ matrix.runner }}-${{ matrix.features }}-${{ matrix.link }}
34- if : github.event.pull_request.head.repo.full_name == github.repository
3535 runs-on : ${{ matrix.runner }}
3636 strategy :
3737 fail-fast : false
7373 if-no-files-found : error
7474
7575 publish-release :
76- if : github.event.pull_request.head.repo.full_name == github.repository
76+ if : github.event.pull_request.head.repo.full_name == github.repository || startsWith(github.ref, 'refs/tags/')
7777 name : Publish ${{ matrix.runner }}-${{ matrix.features }}-${{ matrix.link }}
7878 needs : packages
7979 concurrency :
You can’t perform that action at this time.
0 commit comments