From 5e6a07f0a621267222aa70c38f4788940c93dfbc Mon Sep 17 00:00:00 2001 From: AMIAY Date: Tue, 20 Jan 2026 09:42:16 +0100 Subject: [PATCH] Allow manual trigger for release workflow --- .github/workflows/release.yml | 46 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 006d5bf..e6bbb35 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,30 +63,30 @@ jobs: dist/*.zip dist/latest-mac.yml - release: - needs: [build-linux, build-windows, build-macos] - runs-on: ubuntu-latest - if: startsWith(github.ref, 'refs/tags/v') + release: + needs: [build-linux, build-windows, build-macos] + runs-on: ubuntu-latest + if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'workflow_dispatch' - permissions: - contents: write + permissions: + contents: write - steps: - - name: Download all artifacts - uses: actions/download-artifact@v4 - with: - path: artifacts + steps: + - name: Download all artifacts + uses: actions/download-artifact@v4 + with: + path: artifacts - - name: Display structure of downloaded files - run: ls -R artifacts + - name: Display structure of downloaded files + run: ls -R artifacts - - name: Create Release - uses: softprops/action-gh-release@v2 - with: - files: | - artifacts/linux-builds/* - artifacts/windows-builds/* - artifacts/macos-builds/* - generate_release_notes: true - draft: false - prerelease: false + - name: Create Release + uses: softprops/action-gh-release@v2 + with: + files: | + artifacts/linux-builds/**/* + artifacts/windows-builds/**/* + artifacts/macos-builds/**/* + generate_release_notes: true + draft: false + prerelease: false