Enhance build & release workflow (#330)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-03-12 13:10:28 +01:00
1 parent d399b025a9
commit 850d56cfcf
1 file changed
+4
+4
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