Merge pull request #2412 from o0HalfLife0o/master

use gradle/gradle-build-action for actions cache
pull/2416/head^2
Xwite 3 years ago committed by GitHub
commit 295667aab4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      .github/workflows/release.yml
  2. 8
      .github/workflows/test.yml

@ -46,15 +46,6 @@ jobs:
with: with:
fetch-depth: 1 fetch-depth: 1
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-
- name: Release Apk Sign - name: Release Apk Sign
run: | run: |
echo "::set-output name=KeyStore::yes" echo "::set-output name=KeyStore::yes"

@ -50,14 +50,6 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
with: with:
fetch-depth: 0 fetch-depth: 0
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-legado-${{ hashFiles('**/updateLog.md') }}-
- name: Clear 18PlusList.txt - name: Clear 18PlusList.txt
run: | run: |
echo "清空18PlusList.txt" echo "清空18PlusList.txt"

Loading…
Cancel
Save