Skip to content

Commit 16710fa

Browse files
authored
Merge pull request #211 from maulana-kurniawan/gh-action-fix
improve releases
2 parents dd72111 + 3ed7376 commit 16710fa

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

.github/workflows/android.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,10 @@ jobs:
5959
fi
6060
6161
- name: Upload to release
62-
uses: svenstaro/upload-release-action@v2
62+
uses: softprops/action-gh-release@v2
6363
with:
64-
repo_token: ${{ secrets.GITHUB_TOKEN }}
65-
file: app/build/outputs/apk/debug/app-debug.apk
66-
asset_name: WaEnhancer_debug_${{ github.sha }}.apk
67-
tag: pre-release-${{ github.sha }}
64+
token: ${{ secrets.GITHUB_TOKEN }}
65+
name: WaEnhancer ${{ github.sha }}
66+
body_path: changelog.txt
67+
files: app/build/outputs/apk/debug/app-debug.apk
68+
tag_name: pre-release-${{ github.sha }}

.github/workflows/business.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
path: app/build/outputs/apk/debug/app-debug.apk
5151

5252
- name: Upload to release
53-
uses: svenstaro/upload-release-action@v2
53+
uses: softprops/action-gh-release@v2
5454
with:
55-
repo_token: ${{ secrets.GITHUB_TOKEN }}
56-
file: app/build/outputs/apk/debug/app-debug.apk
57-
asset_name: WaEnhancer_business_debug_${{ github.sha }}.apk
58-
tag: pre-release-business-${{ github.sha }}
55+
token: ${{ secrets.GITHUB_TOKEN }}
56+
name: WaEnhancer Business ${{ github.sha }}
57+
body_path: changelog.txt
58+
files: app/build/outputs/apk/debug/app-debug.apk
59+
tag_name: pre-release-business-${{ github.sha }}

0 commit comments

Comments
 (0)