ci: pin upload-artifact to v3
CI / build (push) Successful in 2m57s
CI / test (push) Skipped
CI / snap (push) Successful in 4m29s

v4's GHES check refuses to run on any non-github.com server, so the
snap artifact upload always failed on gitea; v3 uses the artifact API
gitea implements.
This commit is contained in:
2026-09-18 18:07:54 +02:00
parent ff635b305b
commit a7d2cfdc6e
+3 -1
View File
@@ -114,7 +114,9 @@ jobs:
export PATH="/usr/libexec/snapcraft:$HOME/.cargo/bin:$PATH" export PATH="/usr/libexec/snapcraft:$HOME/.cargo/bin:$PATH"
snapcraft pack --destructive-mode snapcraft pack --destructive-mode
- name: Upload snap artifact - name: Upload snap artifact
uses: actions/upload-artifact@v4 # v4 refuses to run outside github.com (GHESNotSupportedError); Gitea
# implements the artifact API used by v3, so v3 is the supported choice.
uses: actions/upload-artifact@v3
with: with:
name: snap name: snap
path: ./*.snap path: ./*.snap