Skip to content

Commit d5de644

Browse files
authored
Merge pull request #304 from ptkNktq/feature/github_actions_notification
Actionsの結果通知
2 parents 423b63a + d296d2b commit d5de644

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/android-build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66

77
jobs:
88
build:
9-
109
runs-on: ubuntu-latest
11-
1210
steps:
1311
- uses: actions/checkout@v6
1412
- name: set up JDK 17
@@ -17,11 +15,20 @@ jobs:
1715
java-version: '17'
1816
distribution: 'temurin'
1917
cache: gradle
18+
2019
- name: Grant execute permission for gradlew
2120
run: |
2221
cd ./AndroidApp
2322
chmod +x ./gradlew
23+
2424
- name: Build with Gradle
2525
run: |
2626
cd ./AndroidApp
2727
./gradlew build
28+
29+
- name: Notify discord
30+
uses: sarisia/actions-status-discord@v1
31+
if: always()
32+
with:
33+
webhook: ${{ secrets.DISCORD_WEBHOOK }}
34+
status: ${{ job.status }}

0 commit comments

Comments
 (0)