Skip to content

Commit

Permalink
update actions
Browse files Browse the repository at this point in the history
  • Loading branch information
siblount committed Dec 20, 2024
1 parent 09936b5 commit bc2d86e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ jobs:

steps:
# Build and test
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'true'

- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Cache NuGet packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
Expand All @@ -46,15 +46,15 @@ jobs:

# Upload artifacts
- name: Upload installer artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: installer
path: src/DAZ_Installer.Installer/Output/*
if-no-files-found: error
retention-days: 3

- name: Upload Windows project binaries artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-binaries
path: src/DAZ_Installer.Windows/bin/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
timeout-minutes: 30

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
lfs: 'true'
- name: Setup .NET
uses: actions/setup-dotnet@v3
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Cache NuGet packages
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/*.csproj') }}
Expand All @@ -38,15 +38,15 @@ jobs:

# Upload artifacts
- name: Upload installer artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: installer
path: src/DAZ_Installer.Installer/Output/*
if-no-files-found: error
retention-days: 3

- name: Upload Windows project binaries artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: windows-binaries
path: src/DAZ_Installer.Windows/bin/*
Expand Down

0 comments on commit bc2d86e

Please sign in to comment.