CI: minor improvements

* Print checksums in log
* Log if tests were skipped
* Switch to gh-release action version 1
This commit is contained in:
WarmUpTill 2023-03-26 01:09:32 +01:00 committed by WarmUpTill
parent 4ac4f00620
commit 34425d3e47
2 changed files with 3 additions and 1 deletions

View File

@ -16,6 +16,7 @@ runs:
shell: zsh {0}
run: |
if [[ '${{ inputs.target }}' != 'x86_64' ]]; then
echo tests skipped!
exit 0
fi
${{ inputs.workingDirectory }}/build_x86_64/tests/advanced-scene-switcher-tests

View File

@ -425,10 +425,11 @@ jobs:
for file in ${{ github.workspace }}/**/@(*.pkg|*.exe|*.deb|*.zip); do
echo " ${file##*/}: $(sha256sum "${file}" | cut -d " " -f 1)" >> ${{ github.workspace }}/CHECKSUMS.txt
done
cat ${{ github.workspace }}/CHECKSUMS.txt
- name: Create Release
id: create_release
uses: softprops/action-gh-release@1e07f4398721186383de40550babbdf2b84acfc5
uses: softprops/action-gh-release@v1
with:
draft: true
prerelease: true