mirror of
https://github.com/Helium314/HeliBoard.git
synced 2025-04-20 14:19:08 +00:00
update workflow triggered on PR
This commit is contained in:
parent
0b7f0adc56
commit
6b05d019a1
1 changed files with 6 additions and 5 deletions
11
.github/workflows/build-test-auto.yml
vendored
11
.github/workflows/build-test-auto.yml
vendored
|
@ -2,11 +2,12 @@ name: Test build
|
||||||
# builds only for a single abi and does not produce an APK
|
# builds only for a single abi and does not produce an APK
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
# disabled on push: when I push to non-main, I do a PR anyway
|
||||||
|
# push:
|
||||||
# don't run on main. I noticed I often don't push commits to avoid unnecessary workflow runs
|
# don't run on main. I noticed I often don't push commits to avoid unnecessary workflow runs
|
||||||
branches-ignore: [ main ]
|
# branches-ignore: [ main ]
|
||||||
paths:
|
# paths:
|
||||||
- 'app/**'
|
# - 'app/**'
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'app/**'
|
- 'app/**'
|
||||||
|
@ -32,7 +33,7 @@ jobs:
|
||||||
run: chmod +x gradlew
|
run: chmod +x gradlew
|
||||||
|
|
||||||
- name: Build with Gradle
|
- name: Build with Gradle
|
||||||
run: ./gradlew assembleDebug
|
run: ./gradlew -Pandroid.injected.build.abi=arm64-v8a assembleDebug
|
||||||
|
|
||||||
- name: Archive reports for failed job
|
- name: Archive reports for failed job
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
|
Loading…
Add table
Reference in a new issue