From b92527c956b16b6c78a23b5e22d7e4f0ec9f80b0 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 19 Sep 2026 13:56:18 +0000 Subject: [PATCH] Fix website and snap Nix workflow wiring Co-authored-by: dichhead <330471626+dichhead@users.noreply.github.com> --- .github/workflows/pages.yml | 8 +++++++- .github/workflows/release.yml | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index e07696bea..3b1835c76 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -99,7 +99,13 @@ jobs: path: website - name: Validate website - run: nix develop --command python3 "$GITHUB_WORKSPACE/website/scripts/test_site.py" + run: | + SCRIPT=$(cat <<'EOF' + cd "$GITHUB_WORKSPACE/website" + python3 scripts/test_site.py + EOF + ) + nix develop --command bash --noprofile --norc -euo pipefail -c "$SCRIPT" - name: Assemble landing page run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8a61cd561..f0ecd166a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -156,9 +156,10 @@ jobs: - name: Set package version id: package + env: + VERSION: ${{ steps.version.outputs.version }} run: | SCRIPT=$(cat <<'EOF' - VERSION=$(python3 scripts/release.py versions --tag "$RELEASE_TAG" | sed -n 's/^version=//p') test -n "$VERSION" sed -i "s/^version: .*/version: '$VERSION'/" snap/snapcraft.yaml echo "version=$VERSION" >> "$GITHUB_OUTPUT"