ci: upload-artifact v3 — v4+ is refused by this forge

lint and test now pass, and all five build legs failed at the last step:

    ::error::@actions/artifact v2.0.0+, upload-artifact@v4+ and
             download-artifact@v4+ are not currently supported on GHES.

git.hanzo.ai presents as GHES, so the v4 action refuses before doing any work.
Each leg compiled its binary and then threw it away, which reads as five build
failures when five builds succeeded.

Co-authored-by: Hanzo Dev <[email protected]>
This commit is contained in:
2026-08-02 01:58:11 -07:00
co-authored by Hanzo Dev
parent 23eb631012
commit 09a7e654cc
+5 -1
View File
@@ -104,7 +104,11 @@ jobs:
ext=''
[ "${GOOS}" = windows ] && ext='.exe'
go build -v -ldflags "-s -w" -o "bin/corona-${GOOS}-${GOARCH}${ext}" .
- uses: actions/upload-artifact@v4
# v3, not v4+: this runs on git.hanzo.ai, which presents as GHES, and the
# v4 action refuses outright -- "@actions/artifact v2.0.0+ ... not currently
# supported on GHES". Every matrix leg built its binary and then discarded
# it at the last step, so five successful builds read as five failures.
- uses: actions/upload-artifact@v3
with:
name: corona-${{ matrix.goos }}-${{ matrix.goarch }}
path: bin/