summaryrefslogtreecommitdiff
path: root/.github/workflows/release.yml
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-07-15 00:08:34 +0530
committerGitHub <noreply@github.com>2020-07-14 20:38:34 +0200
commit06b226ae8db093c4155f2fe2b4244f88c972631a (patch)
tree1661d4ae162d17c6548297c3f2d0dacd3d6dafdd /.github/workflows/release.yml
parent1d7ec5ba6f230fa23e33426f5eecf801e2ab5d26 (diff)
github: update all Actions (#934)
Switch publicsuffix update workflow to use the same pull-request action as release drafter. Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to '.github/workflows/release.yml')
-rw-r--r--.github/workflows/release.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 5f03c588..c6cdf753 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Decrypt secrets
run: release/signing-setup.sh "$ENCRYPT_KEY"
@@ -24,7 +24,7 @@ jobs:
run: ./.github/checksum.sh checksum.txt
- name: Cache gradle modules
- uses: actions/cache@v1
+ uses: actions/cache@v2
with:
path: ~/.gradle/caches/modules-2
key: ${{ runner.os }}-gradlemodules-${{ hashFiles('checksum.txt') }}
@@ -32,7 +32,7 @@ jobs:
${{ runner.os }}-gradlemodules-
- name: Cache gradle jars
- uses: actions/cache@v1
+ uses: actions/cache@v2
with:
path: ~/.gradle/caches/jars-3
key: ${{ runner.os }}-gradlejars-${{ hashFiles('checksum.txt') }}
@@ -40,7 +40,7 @@ jobs:
${{ runner.os }}-gradlejars-
- name: Cache gradle build
- uses: actions/cache@v1
+ uses: actions/cache@v2
with:
path: ~/.gradle/caches/build-cache-1
key: ${{ runner.os }}-gradlebuildcache-${{ hashFiles('checksum.txt') }}
@@ -54,19 +54,19 @@ jobs:
run: ./gradlew :app:assembleFreeRelease :app:assembleNonFreeRelease :app:bundleNonFreeRelease
- name: Upload non-free release APK
- uses: actions/upload-artifact@master
+ uses: actions/upload-artifact@v2
with:
name: APS Non-Free Release APK
path: app/build/outputs/apk/nonFree/release/app-release.apk
- name: Upload non-free release Bundle
- uses: actions/upload-artifact@master
+ uses: actions/upload-artifact@v2
with:
name: APS Non-Free Release Bundle
path: app/build/outputs/bundle/nonFree/release/app-release.aab
- name: Upload free release APK
- uses: actions/upload-artifact@master
+ uses: actions/upload-artifact@v2
with:
name: APS Free Release APK
path: app/build/outputs/apk/free/release/app-release.apk
@@ -81,22 +81,22 @@ jobs:
needs: build
steps:
- name: Checkout
- uses: actions/checkout@v1
+ uses: actions/checkout@v2
- name: Get Non-Free Release APK
- uses: actions/download-artifact@v1
+ uses: actions/download-artifact@v2
with:
name: APS Non-Free Release APK
path: artifacts/nonFree
- name: Get Non-Free Bundle
- uses: actions/download-artifact@v1
+ uses: actions/download-artifact@v2
with:
name: APS Non-Free Release Bundle
path: artifacts/nonFree
- name: Get Free Release APK
- uses: actions/download-artifact@v1
+ uses: actions/download-artifact@v2
with:
name: APS Free Release APK
path: artifacts/free