Skip to content

Commit 53adbc5

Browse files
committed
🏗️ Update workflows
1 parent 5c2a36a commit 53adbc5

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ on:
1515
jobs:
1616
build:
1717
name: Build
18-
runs-on: windows-2022
18+
runs-on: windows-latest
1919

2020
steps:
2121
- uses: actions/checkout@v3
@@ -47,22 +47,22 @@ jobs:
4747
uses: actions/upload-artifact@v3
4848
with:
4949
name: youtube-dl-wpf-${{ github.sha }}-windows
50-
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/publish/
50+
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/publish/
5151

5252
- name: Upload artifacts for Windows ARM64
5353
uses: actions/upload-artifact@v3
5454
with:
5555
name: youtube-dl-wpf-${{ github.sha }}-windows-arm64
56-
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/win-arm64/publish/
56+
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/win-arm64/publish/
5757

5858
- name: Upload artifacts for Windows x64
5959
uses: actions/upload-artifact@v3
6060
with:
6161
name: youtube-dl-wpf-${{ github.sha }}-windows-x64
62-
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/win-x64/publish/
62+
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/win-x64/publish/
6363

6464
- name: Upload artifacts for Windows x86
6565
uses: actions/upload-artifact@v3
6666
with:
6767
name: youtube-dl-wpf-${{ github.sha }}-windows-x86
68-
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/win-x86/publish/
68+
path: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/win-x86/publish/

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
publish_upload:
1010
name: Publish and upload
11-
runs-on: windows-2022
11+
runs-on: windows-latest
1212

1313
steps:
1414
- uses: actions/checkout@v3
@@ -32,7 +32,7 @@ jobs:
3232
# Package
3333
- name: Package for Windows
3434
run: |
35-
cd YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/publish
35+
cd YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/publish
3636
7z a -tzip -mx=9 -mfb=128 ../youtube-dl-wpf-${{ github.ref_name }}-windows.zip .
3737
7z a -t7z -m0=lzma2 -mx=9 -mfb=64 -md=64m -ms=on ../youtube-dl-wpf-${{ github.ref_name }}-windows.7z .
3838
cd ../win-arm64/publish
@@ -50,7 +50,7 @@ jobs:
5050
uses: svenstaro/upload-release-action@v2
5151
with:
5252
repo_token: ${{ secrets.GITHUB_TOKEN }}
53-
file: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22000.0/youtube-dl-wpf-*
53+
file: YoutubeDl.Wpf/bin/Release/net7.0-windows10.0.22621.0/youtube-dl-wpf-*
5454
tag: ${{ github.ref }}
5555
file_glob: true
5656
prerelease: true

0 commit comments

Comments
 (0)