forked from extern/Unexpected-Keyboard
Rename resulting CI artifact (#180)
* Rename resulting CI artifact Add details to the name of the artifact, to distiguish downloads of it between multiple branches while testing * Update CI to nodejs16 and improve artifact naming
This commit is contained in:
parent
158a3577be
commit
7fb5c992b6
15
.github/workflows/make-apk.yml
vendored
15
.github/workflows/make-apk.yml
vendored
@ -9,14 +9,14 @@ jobs:
|
|||||||
Build-Apk:
|
Build-Apk:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-java@v2
|
- uses: actions/setup-java@v3
|
||||||
with:
|
with:
|
||||||
distribution: 'zulu' # See 'Supported distributions' for available options
|
distribution: 'zulu' # See 'Supported distributions' for available options
|
||||||
java-version: '11'
|
java-version: '11'
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Cache debug certificate
|
- name: Cache debug certificate
|
||||||
uses: actions/cache@v2
|
uses: actions/cache@v3
|
||||||
with:
|
with:
|
||||||
path: _build/debug.keystore
|
path: _build/debug.keystore
|
||||||
key: debug-keystore
|
key: debug-keystore
|
||||||
@ -35,8 +35,13 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Build
|
- name: Build
|
||||||
run: make
|
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
|
- name: Save debug apk
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: debug apk
|
name: "${{env.artifact}} debug_apk"
|
||||||
path: _build/*.apk
|
path: _build/*.apk
|
||||||
|
Loading…
Reference in New Issue
Block a user