mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-21 23:55:13 -05:00
Use short sha
This commit is contained in:
parent
4f36b21d2e
commit
763438c7e5
4
.github/workflows/mac.yml
vendored
4
.github/workflows/mac.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
|||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
|
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
|
||||||
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
|
echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
|
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
@ -108,7 +108,7 @@ jobs:
|
|||||||
id: get_version
|
id: get_version
|
||||||
run: |
|
run: |
|
||||||
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
|
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
|
||||||
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
|
echo "version=$(echo ${{github.sha}} | cut -c1-7)" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
|
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user