1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-22 17:45:48 -05:00

Use hash for ci builds

This commit is contained in:
Jon Beniston 2024-10-31 21:16:19 +00:00
parent 5c41fe8342
commit 622958bdb5

View File

@ -43,7 +43,12 @@ jobs:
make -j3 package
- name: Get version
id: get_version
run: echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $env:GITHUB_OUTPUT
run: |
if [[ "${{github.ref_name}}" == "mac_ci" ]]; then
echo "version=${{github.sha}}" >> $GITHUB_OUTPUT
else
echo "version=$(echo ${{github.ref_name}} | cut -c2-)" >> $GITHUB_OUTPUT
fi
- name: Get filename
id: get_filename
run: echo "filename=$(grep CPACK_PACKAGE_FILE_NAME build/CMakeCache.txt | cut -d "=" -f2)" >> $GITHUB_OUTPUT