abouttreesummaryrefslogcommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/make-apk.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.github/workflows/make-apk.yml b/.github/workflows/make-apk.yml
index 3f872ba..f580d04 100644
--- a/.github/workflows/make-apk.yml
+++ b/.github/workflows/make-apk.yml
@@ -9,14 +9,14 @@ jobs:
Build-Apk:
runs-on: ubuntu-latest
steps:
- - uses: actions/setup-java@v2
+ - uses: actions/setup-java@v3
with:
distribution: 'zulu' # See 'Supported distributions' for available options
java-version: '11'
- name: Checkout repo
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: Cache debug certificate
- uses: actions/cache@v2
+ uses: actions/cache@v3
with:
path: _build/debug.keystore
key: debug-keystore
@@ -35,8 +35,13 @@ jobs:
fi
- name: Build
run: make
+ - name: Artifact naming
+ run: |
+ artifact="${{github.repository_owner}} ${{github.ref_name}}"
+ artifact="${artifact//\//-}" # replace slashes
+ echo "artifact=${artifact}" >> $GITHUB_ENV
- name: Save debug apk
- uses: actions/upload-artifact@v2
+ uses: actions/upload-artifact@v3
with:
- name: debug apk
+ name: "${{env.artifact}} debug_apk"
path: _build/*.apk