From d63143d7c367db62d94d0efcd80cb904667ac236 Mon Sep 17 00:00:00 2001 From: Syer10 Date: Sun, 12 Feb 2023 19:01:29 -0500 Subject: [PATCH] Fix actions not uploading release builds --- .github/workflows/Build.yml | 3 ++- .github/workflows/Preview.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index efe87a919b..78097d7251 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -113,6 +113,7 @@ jobs: name: runner-package-${{ matrix.runtime }} path: | desktop/build/compose/binaries/main/*/ + desktop/build/compose/binaries/main-release/*/ desktop/build/compose/jars/ !desktop/build/compose/binaries/main/app/ ${{ env.SIGNED_RELEASE_FILE }} @@ -150,6 +151,6 @@ jobs: - uses: ncipollo/release-action@v1 with: - artifacts: "*/binaries/main/*/*.*,*/jars/*.jar,*/android/build/outputs/apk/release/*.apk" + artifacts: "*/binaries/main/*/*.*,*/binaries/main-release/*/*.*,*/jars/*.jar,*/android/build/outputs/apk/release/*.apk" draft: true token: ${{ secrets.WINGET_PUBLISH_PAT }} diff --git a/.github/workflows/Preview.yml b/.github/workflows/Preview.yml index a63271e479..1404fcdedc 100644 --- a/.github/workflows/Preview.yml +++ b/.github/workflows/Preview.yml @@ -121,6 +121,7 @@ jobs: name: runner-package-${{ matrix.runtime }} path: | desktop/build/compose/binaries/main/*/ + desktop/build/compose/binaries/main-release/*/ desktop/build/compose/jars/ !desktop/build/compose/binaries/main/app/ ${{ env.SIGNED_RELEASE_FILE }} @@ -186,7 +187,7 @@ jobs: - uses: ncipollo/release-action@v1 with: - artifacts: "*/binaries/main/*/*.*,*/jars/*.jar,*/android/build/outputs/apk/release/*.apk" + artifacts: "*/binaries/main/*/*.*,*/binaries/main-release/*/*.*,*/jars/*.jar,*/android/build/outputs/apk/release/*.apk" token: ${{ secrets.DEPLOY_PREVIEW_TOKEN }} repo: Tachidesk-JUI-preview tag: r${{ env.COMMIT_COUNT }}