-
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.
Merge pull request #117 from NeoA11y/ci/action-build
Build and upload APKs as artifacts
- Loading branch information
Showing
4 changed files
with
58 additions
and
11 deletions.
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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: Build application | ||
|
||
on: | ||
pull_request: | ||
branches: [ main, develop ] | ||
push: | ||
branches: [ main, develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: 17 | ||
cache: gradle | ||
- name: Build with Gradle | ||
run: ./gradlew build --no-daemon | ||
|
||
- name: Upload results | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: SpeakTouch-APKs | ||
path: | | ||
app/build/outputs/apk/debug/SpeakTouch-debug.apk | ||
app/build/outputs/apk/release/SpeakTouch-release-unsigned.apk |
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
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