mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 13:30:40 +00:00
upgrade release.yml
to upload-artifact@v4 (#1410)
Github has deprecated `v1` and `v2` of `actions/upload-artifact` which causes occassional CI failures and will affect our ability to make new releases in the future. This PR updates the version used in `release.yml`.
This commit is contained in:
parent
b765d7bafd
commit
cd1803e35e
1 changed files with 6 additions and 3 deletions
9
.github/workflows/release.yml
vendored
9
.github/workflows/release.yml
vendored
|
@ -23,16 +23,18 @@ jobs:
|
||||||
run: cmake . -DCMAKE_BUILD_TYPE=Release
|
run: cmake . -DCMAKE_BUILD_TYPE=Release
|
||||||
- name: build
|
- name: build
|
||||||
run: cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI Luau.Compile.CLI --config Release -j 2
|
run: cmake --build . --target Luau.Repl.CLI Luau.Analyze.CLI Luau.Compile.CLI --config Release -j 2
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.os.name != 'windows'
|
if: matrix.os.name != 'windows'
|
||||||
with:
|
with:
|
||||||
name: luau-${{matrix.os.name}}
|
name: luau-${{matrix.os.name}}
|
||||||
path: luau*
|
path: luau*
|
||||||
- uses: actions/upload-artifact@v2
|
overwrite: true
|
||||||
|
- uses: actions/upload-artifact@v4
|
||||||
if: matrix.os.name == 'windows'
|
if: matrix.os.name == 'windows'
|
||||||
with:
|
with:
|
||||||
name: luau-${{matrix.os.name}}
|
name: luau-${{matrix.os.name}}
|
||||||
path: Release\luau*.exe
|
path: Release\luau*.exe
|
||||||
|
overwrite: true
|
||||||
|
|
||||||
web:
|
web:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -52,7 +54,8 @@ jobs:
|
||||||
source emsdk/emsdk_env.sh
|
source emsdk/emsdk_env.sh
|
||||||
emcmake cmake . -DLUAU_BUILD_WEB=ON -DCMAKE_BUILD_TYPE=Release
|
emcmake cmake . -DLUAU_BUILD_WEB=ON -DCMAKE_BUILD_TYPE=Release
|
||||||
make -j2 Luau.Web
|
make -j2 Luau.Web
|
||||||
- uses: actions/upload-artifact@v2
|
- uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: Luau.Web.js
|
name: Luau.Web.js
|
||||||
path: Luau.Web.js
|
path: Luau.Web.js
|
||||||
|
overwrite: true
|
||||||
|
|
Loading…
Reference in a new issue