diff options
| author | Rapha | 2022-10-15 18:53:04 -0400 |
|---|---|---|
| committer | GitHub | 2022-10-16 00:53:04 +0200 |
| commit | 7fb5c992b6235d350cbd45962d1e51c5a044d019 (patch) | |
| tree | cc48a8390b1cbc15c531cf8a502e28398361901e /.github/workflows/make-apk.yml | |
| parent | 158a3577be5965c2f9be2e3f71b0f924d22e3edf (diff) | |
| download | unexpected-keyboard-7fb5c992b6235d350cbd45962d1e51c5a044d019.tar.gz unexpected-keyboard-7fb5c992b6235d350cbd45962d1e51c5a044d019.zip | |
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
Diffstat (limited to '.github/workflows/make-apk.yml')
| -rw-r--r-- | .github/workflows/make-apk.yml | 15 |
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 |
