mirror of
https://github.com/luxfi/corona.git
synced 2026-09-24 00:25:54 +00:00
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:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user