Skip to content

Commit

Permalink
Update workflow dependencies (mihonapp#310)
Browse files Browse the repository at this point in the history
* feat: updated build_pull_request actions version

* feat: updated build_push actions version

* feat: updated issue_moderator action version

* feat: updated deprecated arguments in build_pull_request

* feat: updated deprecated arguments in build_push

* feat: removed explicit declaration of gradle version

(cherry picked from commit 170daf9)

# Conflicts:
#	.github/workflows/build_pull_request.yml
#	.github/workflows/build_push.yml
  • Loading branch information
pabalaba authored and jobobby04 committed Feb 17, 2024
1 parent ad28c9a commit 9f6f15f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
uses: actions/checkout@v4

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v2

- name: Setup Android SDK
run: |
Expand All @@ -30,6 +30,9 @@ jobs:
java-version: 17
distribution: adopt

- name: Set up gradle
uses: gradle/actions/setup-gradle@v3

# SY <--
- name: Write google-services.json
uses: DamianReeves/[email protected]
Expand All @@ -40,9 +43,7 @@ jobs:
# SY -->

- name: Build app and run unit tests
uses: gradle/gradle-command-action@v2
with:
arguments: assembleStandardRelease testStandardReleaseUnitTest --stacktrace
run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest --stacktrace

- name: Sign APK
uses: r0adkll/sign-android-release@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_push_preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: gradle/wrapper-validation-action@v1

- name: TAG - Bump version and push tag
uses: anothrNick/github-tag-action@1.39.0
uses: anothrNick/github-tag-action@1.67.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
WITH_V: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_moderator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Moderate issues
uses: tachiyomiorg/issue-moderator-action@v2
uses: tachiyomiorg/issue-moderator-action@v2.6.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
duplicate-label: Duplicate
Expand Down

0 comments on commit 9f6f15f

Please sign in to comment.