[BACKEND] Use upload-artifact@v4 (#1173)
* [BACKEND] Use upload-artifact@v4 * download too
This commit is contained in:
parent
8d992cbcab
commit
35402438a5
1 changed files with 5 additions and 5 deletions
10
.github/workflows/release.yaml
vendored
10
.github/workflows/release.yaml
vendored
|
|
@ -95,7 +95,7 @@ jobs:
|
||||||
mv dist/ytdl-sub /opt/builds/ytdl-sub_${{ matrix.arch }}
|
mv dist/ytdl-sub /opt/builds/ytdl-sub_${{ matrix.arch }}
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ytdl-sub_${{ matrix.arch }}
|
name: ytdl-sub_${{ matrix.arch }}
|
||||||
path: /opt/builds/ytdl-sub_${{ matrix.arch }}
|
path: /opt/builds/ytdl-sub_${{ matrix.arch }}
|
||||||
|
|
@ -124,7 +124,7 @@ jobs:
|
||||||
.\dist\ytdl-sub.exe -h
|
.\dist\ytdl-sub.exe -h
|
||||||
|
|
||||||
- name: Upload build
|
- name: Upload build
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ytdl-sub_exe
|
name: ytdl-sub_exe
|
||||||
path: .\dist\ytdl-sub.exe
|
path: .\dist\ytdl-sub.exe
|
||||||
|
|
@ -145,19 +145,19 @@ jobs:
|
||||||
echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py
|
echo '${{ needs.version.outputs.init_contents }}' > src/ytdl_sub/__init__.py
|
||||||
|
|
||||||
- name: Restore exe build
|
- name: Restore exe build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ytdl-sub_exe
|
name: ytdl-sub_exe
|
||||||
path: /opt/builds
|
path: /opt/builds
|
||||||
|
|
||||||
- name: Restore aarch64 build
|
- name: Restore aarch64 build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ytdl-sub_aarch64
|
name: ytdl-sub_aarch64
|
||||||
path: /opt/builds
|
path: /opt/builds
|
||||||
|
|
||||||
- name: Restore x86_64 build
|
- name: Restore x86_64 build
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ytdl-sub_x86_64
|
name: ytdl-sub_x86_64
|
||||||
path: /opt/builds
|
path: /opt/builds
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue