Skip to content

Bump version to 0.7-beta1 #5

Bump version to 0.7-beta1

Bump version to 0.7-beta1 #5

name: Build and Publish Tagged Release
on:
push:
tags:
# Match only tags that look like version numbers, e.g. 0.1, 2.3-beta, 4.5.6d, etc.
- '[0-9]+.[0-9]+*'
# Make sure jobs cannot overlap.
concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true
jobs:
# First, build the extension and upload the artifacts.
build-linux:
name: Compile and upload Linux version
uses: ./.github/workflows/extension-build-linux.yml
with:
git-base-ref: ${{ github.ref }}
build-macos:
name: Compile and upload macOS version
uses: ./.github/workflows/extension-build-macos.yml
secrets: inherit
with:
git-base-ref: ${{ github.ref }}
with-codesign: true
build-windows:
name: Compile and upload Windows version
uses: ./.github/workflows/extension-build-windows.yml
with:
git-base-ref: ${{ github.ref }}
build-web:
name: Compile and upload Web version
uses: ./.github/workflows/extension-build-web.yml
with:
git-base-ref: ${{ github.ref }}
build-android:
name: Compile and upload Android version
uses: ./.github/workflows/extension-build-android.yml
with:
git-base-ref: ${{ github.ref }}
# Then, make a draft release for the tag.
release-all:
name: Make a draft GitHub Release for the tag
needs: [ build-linux, build-macos, build-windows, build-web, build-android ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Make GitHub Release
uses: ./.github/actions/make-release
with:
release-version: ${{ github.ref_name }}
# Lastly, use the artifacts to prepare the example project and publish the build.
publish-all:
name: Package and publish the extension
needs: [ release-all ]
uses: ./.github/workflows/extension-publish-all.yml
with:
release-version: ${{ github.ref_name }}
export-example-project:
name: Export the example project for target platforms
needs: [ release-all ]
uses: ./.github/workflows/example-export-project.yml
secrets: inherit
with:
with-codesign: true
publish-example-project:
name: Package and publish the example project
needs: [ export-example-project ]
uses: ./.github/workflows/example-publish-project.yml
with:
release-version: ${{ github.ref_name }}