Skip to content

Commit

Permalink
fix(build): syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiim committed Aug 19, 2022
1 parent 0d36722 commit b57702c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ jobs:
java-version: 11
- name: Build the app
run: ./gradlew assembleDebug assemble
- name: Sign app APK
uses: r0adkll/sign-android-release@v1
id: sign_app
with:
releaseDirectory: |
app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.SIGNING_KEY }}
alias: ${{ secrets.SIGNING_ALIAS }}
keyStorePassword: ${{ secrets.SIGNING_KEYSTORE_PW }}
keyPassword: ${{ secrets.SIGNING_KEY_PW }}
- name: Upload apk as asset
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
title: ${{ github.ref_name }}
automatic_release_name: ${{ github.ref_name }}
draft: ${{ !contains(github.ref, 'tags' }}
draft: ${{ !contains(github.ref, 'tags') }}
prerelease: ${{contains( github.ref_name , '-') }}
files: |
app/build/outputs/apk/release/*.apk
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "ch.tiim.markdown_widget"
minSdk 24
targetSdk 32
versionCode 5
versionName "0.1.4-wip.1"
versionCode 6
versionName "0.1.4-wip.2"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down

0 comments on commit b57702c

Please sign in to comment.