From d21237cfdce4a6e48aa71583d9ba3d01bc338a4e Mon Sep 17 00:00:00 2001 From: gffranco Date: Wed, 24 Jun 2026 02:02:26 +0000 Subject: [PATCH] fix(release): checkout main by ref instead of tag (avoids Gitea ref pattern failure) --- .gitea/workflows/release.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8a7e6cd..4f8c58e 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -142,8 +142,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - # Build the just-tagged commit, not the branch tip. - ref: ${{ needs.prepare.outputs.tag }} + ref: main - uses: dtolnay/rust-toolchain@1.83 with: @@ -203,8 +202,7 @@ jobs: steps: - uses: actions/checkout@v4 with: - ref: ${{ needs.prepare.outputs.tag }} - fetch-depth: 0 + ref: main - name: Download all build artifacts # download-artifact@v3 nests each artifact under its own dir