mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-08-14 15:33:34 -04:00
Use consistent GitHub env vars in Flatpak version step
Agent-Logs-Url: https://github.com/f4exb/sdrangel/sessions/862cd268-1d4c-402d-b530-b2885bf6d153 Co-authored-by: srcejon <57259258+srcejon@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
11858ebb0e
commit
34d40a8661
@@ -22,8 +22,8 @@ jobs:
|
||||
- name: Get version
|
||||
id: get_version
|
||||
run: |
|
||||
if [[ "${{ github.ref_name }}" == "flatpak" ]]; then
|
||||
echo "version=${{ github.sha }}" >> "$GITHUB_OUTPUT"
|
||||
if [[ "$GITHUB_REF_NAME" == "flatpak" ]]; then
|
||||
echo "version=$GITHUB_SHA" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "version=${GITHUB_REF_NAME#v}" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user