From a46cbc2346ebbb591769a27cb793ed782f44e14f Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 4 Aug 2026 18:38:41 -0400 Subject: [PATCH] Fixing CI actions API endpoint --- .forgejo/workflows/ci.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/ci.yml b/.forgejo/workflows/ci.yml index 6b575f7..7ad3524 100644 --- a/.forgejo/workflows/ci.yml +++ b/.forgejo/workflows/ci.yml @@ -198,7 +198,14 @@ jobs: rm -rf "dist/$stage" ls -l dist/ - - uses: actions/upload-artifact@v4 + # Not v4, and not plain v3 either. @actions/artifact v2+ (which backs + # upload/download-artifact v4) inspects the API host, decides anything that + # is not github.com is GitHub Enterprise Server, and refuses outright with + # GHESNotSupportedError - it never reaches the server, so whether Forgejo + # implements the v4 artifact API is beside the point. Plain v3 runs on + # node16, which current Forgejo runner images no longer ship; the + # -node20 tags are Forgejo's builds for precisely this combination. + - uses: actions/upload-artifact@v3-node20 with: name: linux-x86_64 path: | @@ -296,7 +303,14 @@ jobs: rm -rf "dist/$stage" ls -l dist/ - - uses: actions/upload-artifact@v4 + # Not v4, and not plain v3 either. @actions/artifact v2+ (which backs + # upload/download-artifact v4) inspects the API host, decides anything that + # is not github.com is GitHub Enterprise Server, and refuses outright with + # GHESNotSupportedError - it never reaches the server, so whether Forgejo + # implements the v4 artifact API is beside the point. Plain v3 runs on + # node16, which current Forgejo runner images no longer ship; the + # -node20 tags are Forgejo's builds for precisely this combination. + - uses: actions/upload-artifact@v3-node20 with: name: windows-x86_64 path: dist/*.zip @@ -329,7 +343,8 @@ jobs: # Only needed to read the workspace version on a Release* branch push. - uses: actions/checkout@v4 - - uses: actions/download-artifact@v4 + # Must match the uploader's major version - see the note on the upload steps. + - uses: actions/download-artifact@v3-node20 with: path: artifacts