Skip to content

Commit 587802c

Browse files
committed
GHA: Update actions to non-deprecated versions
1 parent f7467ee commit 587802c

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.github/workflows/build.yml

+13-13
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ jobs:
1111
platform: [Win32, x64, ARM64]
1212
steps:
1313
- name: Checkout repository
14-
uses: actions/checkout@v3
14+
uses: actions/checkout@v4
1515
with:
1616
submodules: 'recursive'
1717

1818
- name: Setup MSBuild
19-
uses: microsoft/setup-msbuild@v1
19+
uses: microsoft/setup-msbuild@v2
2020

2121
- name: Restore dependency packages
2222
run: nuget restore
@@ -25,7 +25,7 @@ jobs:
2525
run: msbuild -m -t:Build -p:Configuration=Release -p:Platform=${{ matrix.platform }} WinSparkle.sln
2626

2727
- name: Archive binaries
28-
uses: actions/upload-artifact@v3
28+
uses: actions/upload-artifact@v4
2929
with:
3030
name: winsparkle-binaries-${{ matrix.platform }}
3131
path: |
@@ -41,28 +41,28 @@ jobs:
4141
needs: build
4242
steps:
4343
- name: Checkout repository
44-
uses: actions/checkout@v3
44+
uses: actions/checkout@v4
4545

4646
- name: Fetch binaries (Win32)
47-
uses: actions/download-artifact@v3
47+
uses: actions/download-artifact@v4
4848
with:
4949
name: winsparkle-binaries-Win32
5050

5151
- name: Fetch binaries (x64)
52-
uses: actions/download-artifact@v3
52+
uses: actions/download-artifact@v4
5353
with:
5454
name: winsparkle-binaries-x64
5555

5656
- name: Fetch binaries (ARM64)
57-
uses: actions/download-artifact@v3
57+
uses: actions/download-artifact@v4
5858
with:
5959
name: winsparkle-binaries-ARM64
6060

6161
- name: Build NuGet package
6262
run: nuget pack nuget/WinSparkle.nuspec -Verbosity detailed
6363

6464
- name: Upload artifact
65-
uses: actions/upload-artifact@v3
65+
uses: actions/upload-artifact@v4
6666
with:
6767
name: nuget-package
6868
path: "*.nupkg"
@@ -74,7 +74,7 @@ jobs:
7474
needs: build-nuget
7575
steps:
7676
- name: Fetch artifact
77-
uses: actions/download-artifact@v3
77+
uses: actions/download-artifact@v4
7878
with:
7979
name: nuget-package
8080

@@ -93,23 +93,23 @@ jobs:
9393
needs: build-nuget
9494
steps:
9595
- name: Checkout repository
96-
uses: actions/checkout@v3
96+
uses: actions/checkout@v4
9797
with:
9898
submodules: 'recursive'
9999
fetch-depth: 0
100100

101101
- name: Fetch binaries (Win32)
102-
uses: actions/download-artifact@v3
102+
uses: actions/download-artifact@v4
103103
with:
104104
name: winsparkle-binaries-Win32
105105

106106
- name: Fetch binaries (x64)
107-
uses: actions/download-artifact@v3
107+
uses: actions/download-artifact@v4
108108
with:
109109
name: winsparkle-binaries-x64
110110

111111
- name: Fetch binaries (ARM64)
112-
uses: actions/download-artifact@v3
112+
uses: actions/download-artifact@v4
113113
with:
114114
name: winsparkle-binaries-ARM64
115115

.github/workflows/check-translations.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
check-po-validity:
1313
name: Check translations
1414
runs-on: ubuntu-latest
15-
15+
1616
steps:
17-
- uses: actions/checkout@v2
17+
- uses: actions/checkout@v4
1818

1919
- name: Install GNU gettext
2020
run: sudo apt-get install gettext

0 commit comments

Comments
 (0)