fix: pin actions/upload-artifact to v3 to ensure compatibility with Gitea
tests / python (3.10) (push) Successful in 13s
tests-macos / macos (push) Successful in 20s
tests / python (3.11) (push) Successful in 13s
tests / web (push) Successful in 38s

This commit is contained in:
Netherwarlord
2026-07-29 13:51:38 -04:00
parent d9123461dc
commit dd38181f56
2 changed files with 13 additions and 1 deletions
+6 -1
View File
@@ -56,9 +56,14 @@ jobs:
# listed, and then destroyed with the job container, so nobody can open
# one. On a tag the archives reach the release instead, which is why this
# is scoped to the tagless path.
# v3, not v4, and this is not a version to "modernise" later. From v4 the
# action refuses to run against any host that is not github.com — it
# classifies everything else as GHES and aborts with
# "GHESNotSupportedError" before uploading a byte. That is a check inside
# the action, so no amount of Gitea-side artifact support changes it.
- name: Upload archives for inspection
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: LM-Gambit-archives
path: dist/LM-Gambit-*