From 34425d3e479a7036bdc3a03a48d0d89432224cfb Mon Sep 17 00:00:00 2001 From: WarmUpTill Date: Sun, 26 Mar 2023 01:09:32 +0100 Subject: [PATCH] CI: minor improvements * Print checksums in log * Log if tests were skipped * Switch to gh-release action version 1 --- .github/actions/run-tests/action.yml | 1 + .github/workflows/main.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/run-tests/action.yml b/.github/actions/run-tests/action.yml index 7c8a3f06..91332fea 100644 --- a/.github/actions/run-tests/action.yml +++ b/.github/actions/run-tests/action.yml @@ -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 diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 76547f96..e7768fd4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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