From 760b77afd25e0152d3576fa94cfebec54ff5c069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Kr=C3=BChlmann?= Date: Mon, 15 Jul 2024 22:25:41 +0200 Subject: [PATCH] Update release pipeline --- .github/workflows/release.yml | 58 ++++++++++++++++++----------------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e30de5b..e28fb8f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,34 +1,36 @@ name: release on: - tags: - - '*.*.*' + push: + tags: + - '*.*.*' -release: - needs: build - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/') - steps: - - name: Checkout code - uses: actions/checkout@v2 +jobs: + release: + needs: build + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/') + steps: + - name: Checkout code + uses: actions/checkout@v2 - - name: Download build artifacts - uses: actions/download-artifact@v2 - with: - name: reboot-artifacts - path: ./artifacts + - name: Download build artifacts + uses: actions/download-artifact@v2 + with: + name: reboot-artifacts + path: ./artifacts - - name: Create a Release - uses: elgohr/Github-Release-Action@v5 - with: - body_path: CHANGELOG.md - files: | - Release.txt - LICENSE - prerelease: false - draft: false - fail_on_unmatched_files: true - generate_release_notes: true - make_latest: true - permissions: - contents: write + - name: Create a Release + uses: elgohr/Github-Release-Action@v5 + with: + body_path: CHANGELOG.md + files: | + Release.txt + LICENSE + prerelease: false + draft: false + fail_on_unmatched_files: true + generate_release_notes: true + make_latest: true + permissions: + contents: write