From 5dc8f7f04bfc4950942e4e709536e784da766f51 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 16 Apr 2026 11:08:23 -0400 Subject: [PATCH] test new actions layout --- .github/workflows/android.yml | 4 +--- .github/workflows/build.yml | 21 +++++++++++++++++++++ .github/workflows/flatpak.yml | 9 ++------- .github/workflows/windows.yml | 4 +--- 4 files changed, 25 insertions(+), 13 deletions(-) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index 2a3446c..aec4d3f 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,9 +1,7 @@ name: "Build APK" on: - push: - branches: ["main"] - tags: ["*"] + workflow_call: workflow_dispatch: jobs: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..4e127fc --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: "Build Artifacts" +on: + workflow_dispatch: + push: + branches: ["main"] + tags: ["*"] +jobs: + exe: + uses: ./.github/workflows/windows.yml + + apk: + uses: ./.github/workflows/android.yml + + flatpak: + uses: ./.github/workflows/flatpak.yml + + publish: + needs: [exe, apk, flatpak] + runs-on: ubuntu-latest + steps: + - run: echo "all done" \ No newline at end of file diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index ba5779a..5b2e416 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -1,9 +1,7 @@ name: "Build Flatpaks" on: - push: - branches: ["main"] - tags: ["*"] + workflow_call: workflow_dispatch: jobs: @@ -30,11 +28,8 @@ jobs: - name: Build app run: nix build .#flatpak - - name: Rename flatpak - run: mv result/nexus.federated.Nexus.flatpak nexus.federated.Nexus-${{ matrix.arch }}.flatpak - - name: Upload installer artifact uses: actions/upload-artifact@v7 with: - path: nexus.federated.Nexus-${{ matrix.arch }}.flatpak + path: result/nexus.federated.Nexus.flatpak archive: false \ No newline at end of file diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 58ca8d1..7d98290 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,9 +1,7 @@ name: "Build EXE" on: - push: - branches: ["main"] - tags: ["*"] + workflow_call: workflow_dispatch: jobs: