fix: downgrade upload-artifact to v3 for Gitea compatibility
All checks were successful
CI Pipeline / Code Linting (pull_request) Successful in 13s
CI Pipeline / Generate Quality Report (pull_request) Successful in 21s
CI Pipeline / Run Tests (pull_request) Successful in 35s
CI Pipeline / Build Verification (pull_request) Successful in 13s

GitHub Actions artifact v4 is not supported on GHES/Gitea instances.
Downgraded from upload-artifact@v4 to upload-artifact@v3 to fix:

Error: @actions/artifact v2.0.0+, upload-artifact@v4+ and
download-artifact@v4+ are not currently supported on GHES.

Changes:
- .gitea/workflows/ci.yml: Updated 2 instances (test-results, quality-report)
- .gitea/workflows/release.yml: Updated 1 instance (release-artifacts)

This ensures CI/CD pipeline runs successfully on Gitea Actions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Christoph Wagner 2025-11-23 14:08:43 +01:00
parent 155ec9ac68
commit 620364ab2b
2 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ jobs:
- name: Archive test results - name: Archive test results
if: always() if: always()
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: test-results name: test-results
path: coverage/ path: coverage/
@ -153,7 +153,7 @@ jobs:
cat quality-report.md cat quality-report.md
- name: Upload quality report - name: Upload quality report
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: quality-report name: quality-report
path: quality-report.md path: quality-report.md

View File

@ -127,7 +127,7 @@ jobs:
EOF EOF
- name: Upload release artifacts - name: Upload release artifacts
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: release-artifacts name: release-artifacts
path: | path: |