Compare commits
6 Commits
main
...
ci-improvements
| Author | SHA1 | Date | |
|---|---|---|---|
| f6a543320e | |||
| 678d62ac14 | |||
| d93637bb48 | |||
| 01b936fffc | |||
| 5d3ce2fe0b | |||
| d188b09fde |
@@ -77,10 +77,13 @@ jobs:
|
||||
version="${GITHUB_REF_NAME#v}"
|
||||
archive="nuwiki-ls-${version}-${{ matrix.target }}.tar.gz"
|
||||
tar -czf "$archive" -C "target/${{ matrix.target }}/release" nuwiki-ls
|
||||
echo "archive=$archive" >> "$GITHUB_OUTPUT"
|
||||
# Use a stable name without version so /releases/latest/download/nuwiki-ls-{target}.tar.gz always resolves.
|
||||
stable="nuwiki-ls-${{ matrix.target }}.tar.gz"
|
||||
mv "$archive" "$stable"
|
||||
echo "archive=$stable" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Upload build artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: nuwiki-ls-${{ matrix.target }}
|
||||
path: ${{ steps.package.outputs.archive }}
|
||||
@@ -92,12 +95,11 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Download all build artifacts
|
||||
# upload-artifact@v4 + download-artifact@v4 with merge-multiple
|
||||
# flattens all artifacts into the download path directly.
|
||||
uses: actions/download-artifact@v4
|
||||
# download-artifact@v3 nests each artifact under its own dir
|
||||
# (artifacts/<artifact-name>/<file>), so recurse.
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
path: ./artifacts
|
||||
merge-multiple: true
|
||||
|
||||
- name: Ensure jq + curl
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user