From f5e40ab5b25b4e387781c3218730ec776621a45a Mon Sep 17 00:00:00 2001 From: jwinterm Date: Mon, 31 Aug 2026 18:15:46 -0400 Subject: [PATCH] ci(gitea): pin the artifact actions to v3 The first Gitea run built cleanly all the way through -- depends, wowlet.exe, staging -- and then died on the last step: ::error::@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES. Gitea Actions implements the older artifact protocol, so the v4 actions (which use @actions/artifact v2) refuse to talk to it. Hash Bags' Windows lane already uses v3 for the same reason. Pinned with a comment so nobody upgrades it back and loses a 22 minute build to the same error. --- .gitea/workflows/build-windows.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build-windows.yml b/.gitea/workflows/build-windows.yml index 7345affb..4a1bbde2 100644 --- a/.gitea/workflows/build-windows.yml +++ b/.gitea/workflows/build-windows.yml @@ -135,7 +135,10 @@ jobs: ls -la stage stage/tor - name: upload unsigned staging tree - uses: actions/upload-artifact@v4 + # v3, not v4: Gitea Actions implements the older artifact protocol and + # rejects @actions/artifact v2 clients with + # "GHESNotSupportedError ... not currently supported on GHES". + uses: actions/upload-artifact@v3 with: name: wowlet-x86_64-windows-unsigned path: stage/ @@ -147,7 +150,7 @@ jobs: runs-on: windows # gitea label windows:host -> desktop-iim2fs2 steps: - name: download unsigned staging tree - uses: actions/download-artifact@v4 + uses: actions/download-artifact@v3 with: name: wowlet-x86_64-windows-unsigned path: stage @@ -209,7 +212,7 @@ jobs: Get-ChildItem 'wowlet-x86_64-windows.zip' | Format-List Name, Length - name: upload signed Windows zip - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v3 with: name: wowlet-x86_64-windows path: wowlet-x86_64-windows.zip