Skip to content

Commit

Permalink
action
Browse files Browse the repository at this point in the history
  • Loading branch information
iakanoe committed Oct 27, 2023
1 parent f4e2739 commit 4eb1605
Show file tree
Hide file tree
Showing 2 changed files with 147 additions and 209 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'zulu'
- 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
with:
name: generated-apk
path: app/build/outputs/apk/debug/app-debug.apk
if-no-files-found: error
Loading

0 comments on commit 4eb1605

Please sign in to comment.