Try to simplify the release channel CI workflows #2
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: release-channel-beta | |
on: | |
push: | |
tags: | |
- 'v[0-9]+.[0-9]+.[0-9]+-beta.*' | |
# We want to advance the beta branch to the latest stable release, too: | |
- 'v[0-9]+.[0-9]+.[0-9]+' | |
jobs: | |
ff-branch: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- run: | | |
git checkout beta | |
git merge --ff-only ${{ github.ref_name }} | |
- uses: ad-m/github-push-action@v0.8.0 | |
with: | |
branch: beta |