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: Test and publish to package registries after new GitHub release | |
on: | |
release: | |
types: [published] | |
jobs: | |
init: | |
uses: ./.github/workflows/00-init.yml | |
get-publish-version: | |
uses: ./.github/workflows/01-get-publish-version.yml | |
needs: [init] | |
lint: | |
uses: ./.github/workflows/01-lint.yml | |
needs: [init] | |
# TODO: Reactivate when test works | |
# test: | |
# uses: ./.github/workflows/01-test.yml | |
# needs: [init] | |
build: | |
uses: ./.github/workflows/01-build.yml | |
needs: [init] | |
deploy: | |
uses: ./.github/workflows/02-deploy-gh-pages.yml | |
needs: [lint, build, get-publish-version] | |
with: | |
release: ${{ needs.get-publish-version.outputs.release }} | |
preRelease: ${{ needs.get-publish-version.outputs.preRelease }} | |
publishpackages: | |
uses: ./.github/workflows/03-publish-packages.yml | |
needs: [lint, build, get-publish-version] | |
secrets: inherit | |
with: | |
release: ${{ needs.get-publish-version.outputs.release }} | |
preRelease: ${{ needs.get-publish-version.outputs.preRelease }} | |
version: ${{ needs.get-publish-version.outputs.version }} |