v1.0.13 #35
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
release: | |
types: [prereleased] | |
jobs: | |
vet: | |
uses: ./.github/workflows/vet.yml | |
test: | |
uses: ./.github/workflows/test.yml | |
build: | |
uses: ./.github/workflows/build.yml | |
e2e: | |
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} # if all needs jobs are successful | |
needs: [vet, test, build] | |
uses: ./.github/workflows/e2e.yml | |
push-to-ghcr: | |
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} # if all `needs` jobs are successful | |
needs: [vet, test, build, e2e] | |
secrets: inherit | |
uses: ./.github/workflows/push-to-ghcr.yml | |
push-manifest: | |
if: ${{ always() && contains(join(needs.*.result, ','), 'success') }} # if all `needs` jobs are successful | |
needs: [vet, test, build, e2e] | |
secrets: inherit | |
uses: ./.github/workflows/push-manifest.yml | |
cleanup: | |
if: ${{ always() }} # always run this job | |
needs: [push-to-ghcr] | |
secrets: inherit | |
uses: ./.github/workflows/cleanup.yml |