Update workflow dependencies (#310)
* 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 170daf9fb2e566fea598eb5dc0cd710f979c7b7a)
This commit is contained in:
parent
8cb76d8a62
commit
67dbe5b9b8
3 changed files with 7 additions and 6 deletions
9
.github/workflows/build_push.yml
vendored
9
.github/workflows/build_push.yml
vendored
|
|
@ -53,7 +53,7 @@ jobs:
|
|||
echo "CHANGELOG=$changelog" >> $GITHUB_ENV
|
||||
|
||||
- name: Validate Gradle Wrapper
|
||||
uses: gradle/wrapper-validation-action@v1
|
||||
uses: gradle/wrapper-validation-action@v2
|
||||
|
||||
- name: Setup Android SDK
|
||||
run: |
|
||||
|
|
@ -65,6 +65,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/write-file-action@v1.2
|
||||
|
|
@ -76,9 +79,7 @@ jobs:
|
|||
|
||||
- name: Build app and run unit tests
|
||||
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'komikku-app/komikku'
|
||||
uses: gradle/gradle-command-action@v2
|
||||
with:
|
||||
arguments: assembleStandardRelease testStandardReleaseUnitTest --stacktrace
|
||||
run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest --stacktrace
|
||||
|
||||
# Sign APK and create release for tags
|
||||
- name: Get tag name
|
||||
|
|
|
|||
2
.github/workflows/build_push_preview.yml
vendored
2
.github/workflows/build_push_preview.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
2
.github/workflows/issue_moderator.yml
vendored
2
.github/workflows/issue_moderator.yml
vendored
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Moderate issues
|
||||
uses: komikku-app/issue-moderator-action@v2
|
||||
uses: komikku-app/issue-moderator-action@v2.6.0
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
duplicate-label: Duplicate
|
||||
|
|
|
|||
Loading…
Reference in a new issue