Get short hash in separate step
This commit is contained in:
5
.github/workflows/fastlane.yml
vendored
5
.github/workflows/fastlane.yml
vendored
@@ -27,6 +27,9 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
- name: Set outputs
|
||||||
|
id: vars
|
||||||
|
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
|
||||||
- name: Set up Ruby 2.6
|
- name: Set up Ruby 2.6
|
||||||
uses: actions/setup-ruby@v1
|
uses: actions/setup-ruby@v1
|
||||||
with:
|
with:
|
||||||
@@ -42,5 +45,5 @@ jobs:
|
|||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
name: jellyfin-audio-player-android-${{GITHUB_SHA::8}}.apk
|
name: jellyfin-audio-player-android-${{ steps.vars.outputs.sha_short }}.apk
|
||||||
path: android/app/build/outputs/**/*.apk
|
path: android/app/build/outputs/**/*.apk
|
||||||
Reference in New Issue
Block a user