mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-13 05:20:38 +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
|
||||
- name: build
|
||||
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'
|
||||
with:
|
||||
name: luau-${{matrix.os.name}}
|
||||
path: luau*
|
||||
- uses: actions/upload-artifact@v2
|
||||
overwrite: true
|
||||
- uses: actions/upload-artifact@v4
|
||||
if: matrix.os.name == 'windows'
|
||||
with:
|
||||
name: luau-${{matrix.os.name}}
|
||||
path: Release\luau*.exe
|
||||
overwrite: true
|
||||
|
||||
web:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -52,7 +54,8 @@ jobs:
|
|||
source emsdk/emsdk_env.sh
|
||||
emcmake cmake . -DLUAU_BUILD_WEB=ON -DCMAKE_BUILD_TYPE=Release
|
||||
make -j2 Luau.Web
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: Luau.Web.js
|
||||
path: Luau.Web.js
|
||||
overwrite: true
|
||||
|
|
Loading…
Reference in a new issue