Fix CI: downgrade upload/download-artifact to v3 for Gitea compatibility
Build Packages / Build .txz packages (push) Successful in 7m28s
Lint / ShellCheck (push) Successful in 11s
Lint / Validate .plg XML (push) Successful in 12s
Lint / EditorConfig (push) Successful in 4s

All 8 packages built and verified successfully in task 96 — the only
remaining failure was the very last step: actions/upload-artifact@v4
errored with GHESNotSupportedError. Gitea Actions' built-in artifact
storage doesn't implement the newer v2 upload/download API that
upload-artifact@v4/download-artifact@v4 require. Downgraded both (they
must match — v3 and v4 artifacts aren't cross-compatible) to v3, which
uses the older protocol Gitea does support.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-11 22:26:57 +00:00
co-authored by Claude Sonnet 5
parent c3b8ae8ed9
commit 6cd541de23
2 changed files with 10 additions and 2 deletions
+9 -1
View File
@@ -69,6 +69,14 @@ on:
# installs a pinned, checksum-verified Node.js release directly from
# nodejs.org — the same style already used for Go/Rust in
# scripts/ci/setup-slackware-buildenv.sh.
#
# upload-artifact is pinned to v3, not v4 — Gitea Actions' built-in
# artifact storage does not implement the newer v2 upload/download API
# that actions/upload-artifact@v4 and actions/download-artifact@v4
# require; uploading fails outright with "GHESNotSupportedError". v3 uses
# the older, still-supported protocol. release.yml's download-artifact
# must stay on the matching v3 — the two protocols aren't compatible with
# each other.
env:
SLACKWARE_IMAGE: "vbatts/slackware:15.0"
NODE_VERSION: "20.20.2"
@@ -143,7 +151,7 @@ jobs:
run: echo "value=podman-packages-${{ github.sha }}" >> "$GITHUB_OUTPUT"
- name: Upload build artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v3
with:
name: ${{ steps.artifact-name.outputs.value }}
path: |
+1 -1
View File
@@ -38,7 +38,7 @@ jobs:
- uses: actions/checkout@v4
- name: Download built packages
uses: actions/download-artifact@v4
uses: actions/download-artifact@v3
with:
name: ${{ needs.build.outputs.artifact-name }}
path: dist