fix: use artifact v3 for GHES compatibility
CI / cargo fmt --check (push) Successful in 38s
CI / cargo clippy (push) Successful in 34s
CI / cargo test (push) Successful in 32s
Release / build aarch64-unknown-linux-musl (push) Successful in 3m31s
Release / build x86_64-unknown-linux-gnu (push) Successful in 57s
Release / build aarch64-unknown-linux-gnu (push) Successful in 1m8s
Release / build x86_64-unknown-linux-musl (push) Successful in 1m3s
CI / editor keymaps (push) Successful in 1m22s
Release / gitea release (push) Failing after 14s

Gitea (GHES) does not support upload-artifact@v4+.
Revert to v3 which is supported on GHES.
This commit is contained in:
2026-06-03 22:16:40 -03:00
parent 7e757c6a7f
commit 32cf4508de
+4 -5
View File
@@ -83,7 +83,7 @@ jobs:
echo "archive=$stable" >> "$GITHUB_OUTPUT" echo "archive=$stable" >> "$GITHUB_OUTPUT"
- name: Upload build artifact - name: Upload build artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v3
with: with:
name: nuwiki-ls-${{ matrix.target }} name: nuwiki-ls-${{ matrix.target }}
path: ${{ steps.package.outputs.archive }} path: ${{ steps.package.outputs.archive }}
@@ -95,12 +95,11 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Download all build artifacts - name: Download all build artifacts
# upload-artifact@v4 + download-artifact@v4 with merge-multiple # download-artifact@v3 nests each artifact under its own dir
# flattens all artifacts into the download path directly. # (artifacts/<artifact-name>/<file>), so recurse.
uses: actions/download-artifact@v4 uses: actions/download-artifact@v3
with: with:
path: ./artifacts path: ./artifacts
merge-multiple: true
- name: Ensure jq + curl - name: Ensure jq + curl
run: | run: |