Update the bridge version to 0.12.0 (#142) #1
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: | ||
push: | ||
tags: | ||
- v* | ||
workflow_dispatch: | ||
concurrency: | ||
group: "release-${{ github.head_ref || github.ref }}" | ||
cancel-in-progress: true | ||
jobs: | ||
ci: | ||
uses: ./.github/workflows/ci.yaml | ||
Check failure on line 15 in .github/workflows/release.yaml GitHub Actions / .github/workflows/release.yamlInvalid workflow file
|
||
tag_release_artifacts: | ||
# This only runs if this workflow is initiated via a tag-push with pattern 'v*' | ||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') | ||
name: collect v-tag release artifacts | ||
runs-on: ubuntu-latest | ||
needs: | ||
- ci | ||
permissions: write-all | ||
steps: | ||
- uses: actions/checkout@v4 | ||
# README - we later need the download_url output of the upload step | ||
- name: Upload README to release | ||
uses: svenstaro/upload-release-action@v2 | ||
id: upload_readme | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: README.md | ||
tag: ${{ github.ref }} | ||
- name: Gets latest created release info | ||
id: latest_release_info | ||
uses: joutvhu/get-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Collect all artifacts | ||
uses: anotherdaniel/[email protected] | ||
id: quevee_manifest | ||
with: | ||
release_url: ${{ steps.latest_release_info.outputs.html_url }} | ||
artifacts_readme: ${{ steps.upload_readme.outputs.browser_download_url }} | ||
- name: Upload manifest to release | ||
uses: svenstaro/upload-release-action@v2 | ||
id: upload_quality_manifest | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ steps.quevee_manifest.outputs.manifest_file }} | ||
tag: ${{ github.ref }} |