forked from ahmedgamal17/saikou
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Workflow update: Upload APK to Discord (#463)
- Loading branch information
Showing
1 changed file
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,14 +6,15 @@ on: | |
paths-ignore: | ||
- '.github/**' | ||
- '**.md' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: set up JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -30,3 +31,12 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
path: "app/build/outputs/apk/debug/app-debug.apk" | ||
|
||
- name: Upload APK to Discord | ||
uses: tsickert/[email protected] | ||
with: | ||
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }} | ||
username: Saikou Test Builds | ||
avatar-url: "https://media.discordapp.net/attachments/927944825016311858/1046676593252253726/saikou.png" | ||
content: "Latest Beta APK" | ||
filename: app/build/outputs/apk/debug/app-debug.apk |