Skip to content

Commit

Permalink
Merge pull request #41 from tim0-12432/hotfix-2
Browse files Browse the repository at this point in the history
push version and change workflow caching
  • Loading branch information
tim0-12432 authored May 14, 2023
2 parents 9021d89 + 9efa7d7 commit e244016
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release_android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
uses: actions/cache@v3
with:
path: app/build/outputs/apk/release/
key: ${{ runner.os }}-apk-app-schedule-${{ hashFiles('**/build.gradle') }}
key: ${{ runner.os }}-apk-app-schedule-${{ hashFiles('**/build.gradle', '**/app-versioning.gradle') }}
restore-keys: |
- ${{ runner.os }}-apk-app-schedule-
release:
Expand Down Expand Up @@ -170,7 +170,7 @@ jobs:
uses: actions/cache@v3
with:
path: app/build/outputs/apk/release/
key: ${{ runner.os }}-apk-app-schedule-${{ hashFiles('**/build.gradle') }}
key: ${{ runner.os }}-apk-app-schedule-${{ hashFiles('**/build.gradle', '**/app-versioning.gradle') }}
restore-keys: |
- ${{ runner.os }}-apk-app-schedule-
id: cache-apk
Expand Down
4 changes: 2 additions & 2 deletions app-versioning.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
def VERSION_NAME = "1.3.0"
def DEFAULT_VERSION_CODE = 5
def VERSION_NAME = "1.3.1"
def DEFAULT_VERSION_CODE = 6

ext.getUniqueVersionCode = {
def code = System.getenv("VERSION_CODE")
Expand Down

0 comments on commit e244016

Please sign in to comment.