mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Update release CI action versions
actions/upload-artifact@v3 will be deprecated soon. Migrate to v4. Ref: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
This commit is contained in:
parent
706ba05fa6
commit
18b0b9a706
1 changed files with 21 additions and 19 deletions
40
.github/workflows/release.yml
vendored
40
.github/workflows/release.yml
vendored
|
@ -30,9 +30,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
file build/*-linux-aarch64
|
file build/*-linux-aarch64
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-linux-aarch64
|
||||||
path: build/*-linux-aarch64
|
path: build/*-linux-aarch64
|
||||||
linux-riscv64:
|
linux-riscv64:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -58,9 +58,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
file build/*-linux-riscv64
|
file build/*-linux-riscv64
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-linux-riscv64
|
||||||
path: build/*-linux-riscv64
|
path: build/*-linux-riscv64
|
||||||
linux-x86:
|
linux-x86:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
|
@ -86,9 +86,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
file build/*-linux-x86
|
file build/*-linux-x86
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-linux-x86
|
||||||
path: build/*-linux-x86
|
path: build/*-linux-x86
|
||||||
|
|
||||||
linux-x86_64:
|
linux-x86_64:
|
||||||
|
@ -115,9 +115,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
file build/*-linux-x86_64
|
file build/*-linux-x86_64
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-linux-x86_64
|
||||||
path: build/*-linux-x86_64
|
path: build/*-linux-x86_64
|
||||||
|
|
||||||
macos:
|
macos:
|
||||||
|
@ -136,9 +136,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
lipo -info build/qjs-darwin build/qjsc-darwin
|
lipo -info build/qjs-darwin build/qjsc-darwin
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-darwin
|
||||||
path: build/*-darwin
|
path: build/*-darwin
|
||||||
|
|
||||||
windows-x86:
|
windows-x86:
|
||||||
|
@ -168,9 +168,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ldd build/qjs-windows-x86.exe build/qjsc-windows-x86.exe
|
ldd build/qjs-windows-x86.exe build/qjsc-windows-x86.exe
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-windows-x86
|
||||||
path: build/*-windows-x86.exe
|
path: build/*-windows-x86.exe
|
||||||
|
|
||||||
windows-x86_64:
|
windows-x86_64:
|
||||||
|
@ -200,9 +200,9 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
ldd build/qjs-windows-x86_64.exe build/qjsc-windows-x86_64.exe
|
ldd build/qjs-windows-x86_64.exe build/qjsc-windows-x86_64.exe
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-windows-x86_64
|
||||||
path: build/*-windows-x86_64.exe
|
path: build/*-windows-x86_64.exe
|
||||||
|
|
||||||
wasi:
|
wasi:
|
||||||
|
@ -219,9 +219,9 @@ jobs:
|
||||||
make -C build qjs_exe
|
make -C build qjs_exe
|
||||||
mv build/qjs build/qjs-wasi.wasm
|
mv build/qjs build/qjs-wasi.wasm
|
||||||
- name: upload
|
- name: upload
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: qjs
|
name: qjs-wasi
|
||||||
path: build/qjs-wasi.wasm
|
path: build/qjs-wasi.wasm
|
||||||
|
|
||||||
upload-to-release:
|
upload-to-release:
|
||||||
|
@ -229,12 +229,14 @@ jobs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: get assets
|
- name: get assets
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
|
pattern: qjs-*
|
||||||
path: build
|
path: build
|
||||||
|
merge-multiple: true
|
||||||
|
- run: ls -R build
|
||||||
- name: release
|
- name: release
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v1
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
build/qjs/qjs-*
|
build/*
|
||||||
build/qjs/qjsc-*
|
|
||||||
|
|
Loading…
Reference in a new issue