Skip to content

Release

Release #127

Workflow file for this run

name: Release
on:
release:
types: [ published ]
workflow_dispatch: { }
jobs:
lint:
name: Linting & Analysis
uses: ./.github/workflows/lint.yml
secrets: inherit
with:
check-dependencies: false
test:
name: Test
uses: ./.github/workflows/test.yml
secrets: inherit
deploy:
name: Deploy artifacts
needs: [lint, test]
uses: ./.github/workflows/deploy.yml
secrets: inherit
release:
runs-on: ubuntu-latest
needs: [lint, test, deploy]
steps:
- name: Attach artifacts to GitHub Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ${{ needs.deploy.outputs.artifacts_archive_path }}
asset_name: ${{ needs.deploy.outputs.artifacts_archive_path }}
asset_content_type: application/zip