diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 882b6dd..5e1c639 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -48,12 +48,14 @@ jobs: [ "$code" = 200 ] && echo "new=0" >> "$GITHUB_OUTPUT" || echo "new=1" >> "$GITHUB_OUTPUT" - name: Build if: steps.check.outputs.new == '1' + env: + V: ${{ steps.check.outputs.version }} run: | curl -sSf https://sh.rustup.rs | sh -s -- -y -q --profile minimal --no-modify-path export PATH="$CARGO_HOME/bin:$PATH" cargo install -q --locked --git "$SDK_GIT" --tag "$SDK_TAG" sf-pack "$W/src/package.sh" - ls "$W"/src/dist | grep -q -- "-${{ steps.check.outputs.version }}.tar.zst$" || { echo "built another version" >&2; exit 1; } + [ -f "$W/src/dist/support.bluefox.steam-$V.tar.zst" ] || { echo "built another version than $V" >&2; exit 1; } - name: Release if: steps.check.outputs.new == '1' env: