mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 02:46:17 +04:00
Update upload/download-artifact actions to v4 (#9120)
This commit is contained in:
parent
5f04d09f03
commit
585402d9ff
10
.github/workflows/release.yml
vendored
10
.github/workflows/release.yml
vendored
@ -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…
Reference in New Issue
Block a user