From f6a543320ec5cd8aa1b71389dd1de57e62cf3e53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Fr=C3=B3es=20Franco?= Date: Wed, 3 Jun 2026 22:16:40 -0300 Subject: [PATCH] fix: use artifact v3 for GHES compatibility Gitea (GHES) does not support upload-artifact@v4+. Revert to v3 which is supported on GHES. --- .gitea/workflows/release.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 8592382..37684d8 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -83,7 +83,7 @@ jobs: echo "archive=$stable" >> "$GITHUB_OUTPUT" - name: Upload build artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: nuwiki-ls-${{ matrix.target }} path: ${{ steps.package.outputs.archive }} @@ -95,12 +95,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Download all build artifacts - # upload-artifact@v4 + download-artifact@v4 with merge-multiple - # flattens all artifacts into the download path directly. - uses: actions/download-artifact@v4 + # download-artifact@v3 nests each artifact under its own dir + # (artifacts//), so recurse. + uses: actions/download-artifact@v3 with: path: ./artifacts - merge-multiple: true - name: Ensure jq + curl run: |