Skip to content

Commit

Permalink
update actions script
Browse files Browse the repository at this point in the history
  • Loading branch information
iakanoe committed Nov 2, 2023
1 parent 56cf02a commit 81cb9fd
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,23 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v2
- name: checkout repo
uses: actions/checkout@v4
- name: setup JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'zulu'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: make gradlew executable
run: chmod +x ./gradlew
- name: add api key property
run: echo "API_KEY=\"${{ secrets.DOLARITO_API_KEY }}\"" >> local.properties
- name: build debug
run: ./gradlew app:assembleDebug
- name: Upload
uses: actions/upload-artifact@v2
- name: upload
uses: actions/upload-artifact@v3
with:
name: generated-apk
path: app/build/outputs/apk/debug/app-debug.apk
Expand Down

0 comments on commit 81cb9fd

Please sign in to comment.