Update upload/download-artifact actions to v4 (#9120)

pull/7986/head
Michael Davis 6 months ago committed by GitHub
parent 5f04d09f03
commit 585402d9ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ jobs:
- name: Bundle grammars - name: Bundle grammars
run: tar cJf grammars.tar.xz -C runtime/grammars/sources . run: tar cJf grammars.tar.xz -C runtime/grammars/sources .
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: grammars name: grammars
path: grammars.tar.xz path: grammars.tar.xz
@ -106,7 +106,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
- name: Download grammars - name: Download grammars
uses: actions/download-artifact@v3 uses: actions/download-artifact@v4
- name: Move grammars under runtime - name: Move grammars under runtime
if: "!startsWith(matrix.os, 'windows')" if: "!startsWith(matrix.os, 'windows')"
@ -220,7 +220,7 @@ jobs:
fi fi
cp -r runtime dist cp -r runtime dist
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: bins-${{ matrix.build }} name: bins-${{ matrix.build }}
path: dist path: dist
@ -233,7 +233,7 @@ jobs:
- name: Checkout sources - name: Checkout sources
uses: actions/checkout@v4 uses: actions/checkout@v4
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
- name: Build archive - name: Build archive
shell: bash shell: bash
@ -288,7 +288,7 @@ jobs:
overwrite: true overwrite: true
- name: Upload binaries as artifact - name: Upload binaries as artifact
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
if: env.preview == 'true' if: env.preview == 'true'
with: with:
name: release name: release

Loading…
Cancel
Save