Ci improvements #4
@@ -80,14 +80,11 @@ jobs:
|
|||||||
echo "archive=$archive" >> "$GITHUB_OUTPUT"
|
echo "archive=$archive" >> "$GITHUB_OUTPUT"
|
||||||
|
|
||||||
- name: Upload build artifact
|
- name: Upload build artifact
|
||||||
# Gitea Actions doesn't support upload-artifact v4 (uses a
|
uses: actions/upload-artifact@v4
|
||||||
# GitHub-only backend API); pin to v3.
|
|
||||||
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 }}
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
retention-days: 7
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
name: gitea release
|
name: gitea release
|
||||||
@@ -95,11 +92,12 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Download all build artifacts
|
- name: Download all build artifacts
|
||||||
# Paired with upload-artifact@v3 above. v3 has no merge-multiple
|
# upload-artifact@v4 + download-artifact@v4 with merge-multiple
|
||||||
# option and nests each artifact under its own subdirectory.
|
# flattens all artifacts into the download path directly.
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
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