Update GitHub Action Versions (#86)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -22,7 +22,7 @@ jobs:
|
||||
issues: write
|
||||
steps:
|
||||
- name: Create comment
|
||||
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
|
||||
uses: peter-evans/create-or-update-comment@v4.0.0
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
issue-number: ${{ github.event.issue.number }}
|
||||
|
||||
10
.github/workflows/android-branch_ci.yml
vendored
10
.github/workflows/android-branch_ci.yml
vendored
@@ -15,18 +15,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v3
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -45,14 +45,14 @@ jobs:
|
||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||
|
||||
- name: Upload Artifact - WithInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithInternet
|
||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||
retention-days: 3
|
||||
|
||||
- name: Upload Artifact - WithoutInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithoutInternet
|
||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||
|
||||
10
.github/workflows/android-main_ci.yml
vendored
10
.github/workflows/android-main_ci.yml
vendored
@@ -13,18 +13,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -43,14 +43,14 @@ jobs:
|
||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||
|
||||
- name: Upload Artifact - WithInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithInternet
|
||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||
retention-days: 3
|
||||
|
||||
- name: Upload Artifact - WithoutInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithoutInternet
|
||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||
|
||||
10
.github/workflows/android-pr_ci.yml
vendored
10
.github/workflows/android-pr_ci.yml
vendored
@@ -13,18 +13,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -43,14 +43,14 @@ jobs:
|
||||
run: ./gradlew clean && ./gradlew assembleWithInternetDebug && ./gradlew assembleWithoutInternetDebug
|
||||
|
||||
- name: Upload Artifact - WithInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithInternet
|
||||
path: app/build/outputs/apk/withInternet/debug/*.apk
|
||||
retention-days: 3
|
||||
|
||||
- name: Upload Artifact - WithoutInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithoutInternet
|
||||
path: app/build/outputs/apk/withoutInternet/debug/*.apk
|
||||
|
||||
14
.github/workflows/android-release_ci-forced.yml
vendored
14
.github/workflows/android-release_ci-forced.yml
vendored
@@ -10,18 +10,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -40,7 +40,7 @@ jobs:
|
||||
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
||||
|
||||
- name: Sign APK - WithInternet
|
||||
uses: ilharp/sign-android-release@v1
|
||||
uses: ilharp/sign-android-release@v1.0.4
|
||||
# ID used to access action output
|
||||
id: sign_app_withInternet
|
||||
with:
|
||||
@@ -52,14 +52,14 @@ jobs:
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- name: Upload Artifact - WithInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithInternet
|
||||
path: app/build/outputs/apk/withInternet/release/*.apk
|
||||
retention-days: 3
|
||||
|
||||
- name: Sign APK - WithoutInternet
|
||||
uses: ilharp/sign-android-release@v1
|
||||
uses: ilharp/sign-android-release@v1.0.4
|
||||
# ID used to access action output
|
||||
id: sign_app_withoutInternet
|
||||
with:
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- name: Upload Artifact - WithoutInternet
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v4.3.4
|
||||
with:
|
||||
name: Signed app bundle - WithoutInternet
|
||||
path: app/build/outputs/apk/withoutInternet/release/*.apk
|
||||
|
||||
14
.github/workflows/android-release_ci.yml
vendored
14
.github/workflows/android-release_ci.yml
vendored
@@ -12,18 +12,18 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
- name: set up JDK 17
|
||||
uses: actions/setup-java@v4
|
||||
uses: actions/setup-java@v4.2.1
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
cache: gradle
|
||||
|
||||
- uses: actions/cache@v4
|
||||
- uses: actions/cache@v4.0.2
|
||||
with:
|
||||
path: |
|
||||
~/.gradle/caches
|
||||
@@ -42,7 +42,7 @@ jobs:
|
||||
run: ./gradlew clean && ./gradlew assembleWithInternetRelease && ./gradlew assembleWithoutInternetRelease
|
||||
|
||||
- name: Sign APK - WithInternet
|
||||
uses: ilharp/sign-android-release@v1
|
||||
uses: ilharp/sign-android-release@v1.0.4
|
||||
# ID used to access action output
|
||||
id: sign_app_withInternet
|
||||
with:
|
||||
@@ -54,7 +54,7 @@ jobs:
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- name: Release to GitHub - WithInternet
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
uses: svenstaro/upload-release-action@2.9.0
|
||||
with:
|
||||
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
file: ${{steps.sign_app_withInternet.outputs.signedFile}}
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
overwrite: true
|
||||
|
||||
- name: Sign APK - WithoutInternet
|
||||
uses: ilharp/sign-android-release@v1
|
||||
uses: ilharp/sign-android-release@v1.0.4
|
||||
# ID used to access action output
|
||||
id: sign_app_withoutInternet
|
||||
with:
|
||||
@@ -75,7 +75,7 @@ jobs:
|
||||
buildToolsVersion: 33.0.0
|
||||
|
||||
- name: Release to GitHub - WithoutInternet
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
uses: svenstaro/upload-release-action@2.9.0
|
||||
with:
|
||||
repo_token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
file: ${{steps.sign_app_withoutInternet.outputs.signedFile}}
|
||||
|
||||
6
.github/workflows/changelog.yml
vendored
6
.github/workflows/changelog.yml
vendored
@@ -13,13 +13,13 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Generate a changelog
|
||||
uses: orhun/git-cliff-action@v3
|
||||
uses: orhun/git-cliff-action@v3.2.0
|
||||
with:
|
||||
config: cliff.toml
|
||||
args: --verbose
|
||||
@@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
- name: Import GPG key
|
||||
id: import_gpg
|
||||
uses: crazy-max/ghaction-import-gpg@v2
|
||||
uses: crazy-max/ghaction-import-gpg@v6.1.0
|
||||
with:
|
||||
git_user_signingkey: true
|
||||
git_commit_gpgsign: true
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- uses: actions/stale@v5
|
||||
- uses: actions/stale@v9.0.0
|
||||
with:
|
||||
days-before-issue-stale: 30
|
||||
days-before-issue-close: 14
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
# Do other steps like checkout, install, compile, etc.
|
||||
- uses: MyAlbum/purge-cache@master
|
||||
- uses: MyAlbum/purge-cache@v2.1.0
|
||||
with:
|
||||
max-age: 1800 # Cache max 7 days since last use (this is the default)
|
||||
debug: true # Set to true to output debug info
|
||||
|
||||
4
.github/workflows/gitguardian.yaml
vendored
4
.github/workflows/gitguardian.yaml
vendored
@@ -8,11 +8,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
fetch-depth: 0 # fetch all history so multiple commits can be scanned
|
||||
- name: GitGuardian scan
|
||||
uses: GitGuardian/ggshield/actions/secret@v1.26.0
|
||||
uses: GitGuardian/ggshield/actions/secret@v1.29.0
|
||||
env:
|
||||
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }}
|
||||
GITHUB_PUSH_BASE_SHA: ${{ github.event.base }}
|
||||
|
||||
@@ -12,7 +12,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
# [Required] Access token with `workflow` scope.
|
||||
token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
|
||||
2
.github/workflows/thank-you-issue_ci.yml
vendored
2
.github/workflows/thank-you-issue_ci.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/github-script@v6
|
||||
- uses: actions/github-script@v7.0.1
|
||||
with:
|
||||
github-token: ${{ secrets.GIT_BOT_TOKEN }}
|
||||
script: |
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
name: Validation
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4.1.7
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: gradle/wrapper-validation-action@v1
|
||||
- uses: gradle/wrapper-validation-action@v3.4.2
|
||||
|
||||
Reference in New Issue
Block a user