From f74c22eea4dc57911b679be5e4ee3aa95811b568 Mon Sep 17 00:00:00 2001 From: Ben Martin Date: Tue, 21 Jan 2025 10:28:10 +0000 Subject: [PATCH] fix: add release action (#12) This commit updates the release workflow to use the `softprops/action-gh-release@v2` action for releasing artifacts. This change replaces the previous use of `actions/upload-artifact@v4`. - The workflow now uses the `files` parameter instead of `name` and `path` for uploading artifacts. - The change affects `release.yaml`. Closes #10 Reviewed-on: https://git.brmartin.co.uk/bob/mobile-application/pulls/12 Co-authored-by: Ben Martin Co-committed-by: Ben Martin --- .github/workflows/release.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ffb4a92..624e7e7 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,8 +29,7 @@ jobs: - name: Gradle Release run: ./gradlew composeApp:debug --no-daemon - - name: Upload artifacts - uses: actions/upload-artifact@v4 + - name: Release + uses: softprops/action-gh-release@v2 with: - name: app - path: composeApp/build/outputs/apk/debug/*.apk + files: composeApp/build/outputs/apk/debug/*.apk