Skip to content

Commit 45e3f93

Browse files
committed
chore: fix github action workflow to generate APK
1 parent c537110 commit 45e3f93

File tree

1 file changed

+4
-18
lines changed

1 file changed

+4
-18
lines changed
Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Testing - build and release app
1+
name: Testing - build app
22

33
on:
44
push:
@@ -11,11 +11,11 @@ concurrency:
1111

1212
jobs:
1313
apk:
14-
name: Generate and upload APK to Discord
14+
name: Generate APK
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout repository
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- uses: actions/cache@v3
2121
with:
@@ -51,18 +51,4 @@ jobs:
5151
uses: actions/upload-artifact@v1
5252
with:
5353
name: ${{ env.APK_NAME }}
54-
path: app/build/outputs/apk/ci/${{ env.APK_NAME }}.apk
55-
56-
- name: Upload to Discord
57-
uses: sinshutu/[email protected]
58-
env:
59-
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
60-
with:
61-
args: app/build/outputs/apk/ci/${{ env.APK_NAME }}.apk
62-
63-
- name: Report build status to Discord
64-
uses: sarisia/actions-status-discord@v1
65-
if: failure()
66-
with:
67-
title: "Build Key Mapper GUI Keyboard apk"
68-
webhook: ${{ secrets.DISCORD_BUILD_STATUS_WEBHOOK }}
54+
path: app/build/outputs/apk/ci/${{ env.APK_NAME }}.apk

0 commit comments

Comments
 (0)