fix: add release action (#12)
All checks were successful
Build / build (push) Successful in 4m56s
Release / release (push) Successful in 6m57s

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: #12
Co-authored-by: Ben Martin <ben.martin@sky.uk>
Co-committed-by: Ben Martin <ben.martin@sky.uk>
This commit is contained in:
Ben Martin 2025-01-21 10:28:10 +00:00 committed by Ben Martin
parent 362ab97601
commit f74c22eea4

View file

@ -29,8 +29,7 @@ jobs:
- name: Gradle Release - name: Gradle Release
run: ./gradlew composeApp:debug --no-daemon run: ./gradlew composeApp:debug --no-daemon
- name: Upload artifacts - name: Release
uses: actions/upload-artifact@v4 uses: softprops/action-gh-release@v2
with: with:
name: app files: composeApp/build/outputs/apk/debug/*.apk
path: composeApp/build/outputs/apk/debug/*.apk