Enhance build & release workflow (#330)

This commit is contained in:
Thorsten Sommer 2025-03-12 13:10:28 +01:00 committed by GitHub
parent d399b025a9
commit 850d56cfcf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,8 @@
name: Build and Release
on:
push:
branches:
- main
tags:
- "v*.*.*"
@ -566,6 +568,7 @@ jobs:
name: Prepare & create release
runs-on: ubuntu-latest
needs: [build_main, read_metadata, build_linux_arm64]
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Create artifact directory
run: mkdir -p $GITHUB_WORKSPACE/artifacts
@ -723,6 +726,7 @@ jobs:
name: Publish release
runs-on: ubuntu-latest
needs: [read_metadata, create_release]
if: startsWith(github.ref, 'refs/tags/v')
permissions:
contents: write