Pin upload-artifact to v3 for Gitea Actions compatibility

Gitea Actions runner does not support actions/upload-artifact v2.0.0+
(error: "@actions/artifact v2.0.0+, upload-artifact@v4+ and
download-artifact@v4+ are not currently supported on GHES").

The v4 release switched to a new artifact API that only GitHub-hosted
runners implement. v3 still uses the v1 API and works on Gitea /
self-hosted / GHES runners.

Downgraded in both sku-catalog-refresh.yaml and kb-health.yaml.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
root
2026-04-24 12:31:58 -03:00
parent 480c4bca52
commit 30394ece48
2 changed files with 2 additions and 2 deletions

View File

@@ -68,7 +68,7 @@ jobs:
- name: Upload report - name: Upload report
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: kb-health-report name: kb-health-report
path: /tmp/link-check.txt path: /tmp/link-check.txt

View File

@@ -67,7 +67,7 @@ jobs:
- name: Upload logs as artifact - name: Upload logs as artifact
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: sku-refresh-logs name: sku-refresh-logs
path: | path: |