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
|
echo "CHANGELOG=$changelog" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Validate Gradle Wrapper
|
- name: Validate Gradle Wrapper
|
||||||
uses: gradle/wrapper-validation-action@v1
|
uses: gradle/wrapper-validation-action@v2
|
||||||
|
|
||||||
- name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
run: |
|
run: |
|
||||||
|
|
@ -65,6 +65,9 @@ jobs:
|
||||||
java-version: 17
|
java-version: 17
|
||||||
distribution: adopt
|
distribution: adopt
|
||||||
|
|
||||||
|
- name: Set up gradle
|
||||||
|
uses: gradle/actions/setup-gradle@v3
|
||||||
|
|
||||||
# SY <--
|
# SY <--
|
||||||
- name: Write google-services.json
|
- name: Write google-services.json
|
||||||
uses: DamianReeves/write-file-action@v1.2
|
uses: DamianReeves/write-file-action@v1.2
|
||||||
|
|
@ -76,9 +79,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build app and run unit tests
|
- name: Build app and run unit tests
|
||||||
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'komikku-app/komikku'
|
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'komikku-app/komikku'
|
||||||
uses: gradle/gradle-command-action@v2
|
run: ./gradlew assembleStandardRelease testStandardReleaseUnitTest --stacktrace
|
||||||
with:
|
|
||||||
arguments: assembleStandardRelease testStandardReleaseUnitTest --stacktrace
|
|
||||||
|
|
||||||
# Sign APK and create release for tags
|
# Sign APK and create release for tags
|
||||||
- name: Get tag name
|
- 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
|
uses: gradle/wrapper-validation-action@v1
|
||||||
|
|
||||||
- name: TAG - Bump version and push tag
|
- name: TAG - Bump version and push tag
|
||||||
uses: anothrNick/github-tag-action@1.39.0
|
uses: anothrNick/github-tag-action@1.67.0
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
WITH_V: true
|
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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Moderate issues
|
- name: Moderate issues
|
||||||
uses: komikku-app/issue-moderator-action@v2
|
uses: komikku-app/issue-moderator-action@v2.6.0
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
duplicate-label: Duplicate
|
duplicate-label: Duplicate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue