From 79e952e8ae5e3b631d8fe1ed0fc6e6b6c7540520 Mon Sep 17 00:00:00 2001 From: mrrfv Date: Sun, 17 Sep 2023 11:51:54 +0200 Subject: [PATCH] Change auto release tool for tagged versions --- .github/workflows/build-tagged.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-tagged.yml b/.github/workflows/build-tagged.yml index 687c1fd..041439c 100644 --- a/.github/workflows/build-tagged.yml +++ b/.github/workflows/build-tagged.yml @@ -42,11 +42,13 @@ jobs: - run: sudo apt update && sudo apt install p7zip-full - run: 7z a -bb3 -tzip -mx9 -x!.*\* -x!website\* -x!companion_app\* -x!convenience-scripts\* Open_Android_Backup_${{ github.ref_name }}_Bundle.zip . - - uses: "marvinpinto/action-automatic-releases@latest" + - uses: ncipollo/release-action@v1 with: - repo_token: "${{ secrets.GITHUB_TOKEN }}" + artifacts: "Open_Android_Backup_${{ github.ref_name }}_Bundle.zip,companion_app/build/app/outputs/apk/release/app-release.apk" + allowUpdates: false + artifactErrorsFailBuild: true + generateReleaseNotes: true prerelease: false - title: "Open Android Backup Stable - ${{ github.ref_name }}" - files: | - companion_app/build/app/outputs/apk/release/app-release.apk - Open_Android_Backup_${{ github.ref_name }}_Bundle.zip \ No newline at end of file + makeLatest: true + name: "Open Android Backup Stable - ${{ github.ref_name }}" + discussionCategory: "New Versions"