From 12053fe1b47c8b99f95f9276bcc57ca1a91f2a20 Mon Sep 17 00:00:00 2001 From: Abdenasser Date: Thu, 7 Nov 2024 20:08:36 +0100 Subject: [PATCH] test release workflow --- .github/workflows/linux-aarch64-nightly.yml | 2 +- .github/workflows/linux-x86_64-nightly.yml | 2 +- .github/workflows/macos-nightly.yml | 2 +- .github/workflows/test-release.yml | 6 +----- .github/workflows/windows-nightly.yml | 2 +- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/linux-aarch64-nightly.yml b/.github/workflows/linux-aarch64-nightly.yml index 1ad969d..55dfddc 100644 --- a/.github/workflows/linux-aarch64-nightly.yml +++ b/.github/workflows/linux-aarch64-nightly.yml @@ -139,7 +139,7 @@ jobs: path: src-tauri/target/aarch64-unknown-linux-gnu/release/bundle/deb/*.deb - name: Create Release - if: github.event_name == 'schedule' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds uses: softprops/action-gh-release@v1 with: name: Linux ARM64 Nightly Build ${{ github.sha }} diff --git a/.github/workflows/linux-x86_64-nightly.yml b/.github/workflows/linux-x86_64-nightly.yml index cb5ae14..5b819d0 100644 --- a/.github/workflows/linux-x86_64-nightly.yml +++ b/.github/workflows/linux-x86_64-nightly.yml @@ -67,7 +67,7 @@ jobs: path: src-tauri/target/x86_64-unknown-linux-gnu/release/bundle/deb/*.deb - name: Create Release - if: github.event_name == 'schedule' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds uses: softprops/action-gh-release@v1 with: name: Linux Nightly Build ${{ github.sha }} diff --git a/.github/workflows/macos-nightly.yml b/.github/workflows/macos-nightly.yml index 08daa8a..5d7fda0 100644 --- a/.github/workflows/macos-nightly.yml +++ b/.github/workflows/macos-nightly.yml @@ -67,7 +67,7 @@ jobs: path: src-tauri/target/aarch64-apple-darwin/release/bundle/dmg/*.dmg - name: Create Release - if: github.event_name == 'schedule' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds uses: softprops/action-gh-release@v1 with: name: Nightly Build ${{ github.sha }} diff --git a/.github/workflows/test-release.yml b/.github/workflows/test-release.yml index 28ca0d6..c423f48 100644 --- a/.github/workflows/test-release.yml +++ b/.github/workflows/test-release.yml @@ -14,25 +14,21 @@ jobs: with: workflow: macos-nightly.yml token: ${{ secrets.PAT_TOKEN }} - inputs: '{"event_name": "schedule"}' - name: Trigger Windows Build uses: benc-uk/workflow-dispatch@v1 with: workflow: windows-nightly.yml token: ${{ secrets.PAT_TOKEN }} - inputs: '{"event_name": "schedule"}' - name: Trigger Linux x86_64 Build uses: benc-uk/workflow-dispatch@v1 with: workflow: linux-x86_64-nightly.yml token: ${{ secrets.PAT_TOKEN }} - inputs: '{"event_name": "schedule"}' - name: Trigger Linux ARM64 Build uses: benc-uk/workflow-dispatch@v1 with: workflow: linux-aarch64-nightly.yml - token: ${{ secrets.PAT_TOKEN }} - inputs: '{"event_name": "schedule"}' \ No newline at end of file + token: ${{ secrets.PAT_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/windows-nightly.yml b/.github/workflows/windows-nightly.yml index c2dba75..dae60e0 100644 --- a/.github/workflows/windows-nightly.yml +++ b/.github/workflows/windows-nightly.yml @@ -48,7 +48,7 @@ jobs: path: src-tauri/target/release/*.exe - name: Create Release - if: github.event_name == 'schedule' # Only create release for scheduled builds + if: github.event_name == 'workflow_dispatch' # Only create release for scheduled builds uses: softprops/action-gh-release@v1 with: name: Windows Nightly Build ${{ github.sha }}