Skip to content

Release

Release #32

Workflow file for this run

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