fix: use artifact v3 for GHES compatibility
Gitea (GHES) does not support upload-artifact@v4+. Revert to v3 which is supported on GHES.
This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user