Adjust release workflow for stable versions #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: GitHub Release (stable) | ||
on: | ||
registry_package: | ||
types: [updated] | ||
# build-manage: | ||
# name: "Build openslides binary (tag: 4.x.x)" | ||
# if: startsWith(github.ref_name, 'stable/4') | ||
# uses: peb-adr/openslides-manage-service/.github/workflows/release.yml@main | ||
jobs: | ||
print-stuff: | ||
run: | | ||
echo "${{ to_json(github.event) }}" | jq . | ||
release-stable: | ||
name: Create GitHub Release and upload binary | ||
if: github.event.registry_package.package_version.container_metadata.tag.name != '' | ||
runs-on: ubuntu-latest | ||
uses: .github/workflows/release-create.yml@main | ||
Check failure on line 20 in .github/workflows/release-stable.yml GitHub Actions / .github/workflows/release-stable.ymlInvalid workflow file
|
||
with: | ||
tag: latest | ||
title: Stable Build | ||
prerelease: false |