Skip to content

Commit

Permalink
GHA: Update actions to non-deprecated versions
Browse files Browse the repository at this point in the history
  • Loading branch information
vslavik committed Sep 5, 2024
1 parent f7467ee commit 587802c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
platform: [Win32, x64, ARM64]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'

- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

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

- name: Archive binaries
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: winsparkle-binaries-${{ matrix.platform }}
path: |
Expand All @@ -41,28 +41,28 @@ jobs:
needs: build
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Fetch binaries (Win32)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-Win32

- name: Fetch binaries (x64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-x64

- name: Fetch binaries (ARM64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-ARM64

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

- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: "*.nupkg"
Expand All @@ -74,7 +74,7 @@ jobs:
needs: build-nuget
steps:
- name: Fetch artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: nuget-package

Expand All @@ -93,23 +93,23 @@ jobs:
needs: build-nuget
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: Fetch binaries (Win32)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-Win32

- name: Fetch binaries (x64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-x64

- name: Fetch binaries (ARM64)
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: winsparkle-binaries-ARM64

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-translations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ jobs:
check-po-validity:
name: Check translations
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Install GNU gettext
run: sudo apt-get install gettext
Expand Down

0 comments on commit 587802c

Please sign in to comment.