Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# MinVer needs the v-prefixed tags; the default shallow checkout
# has none, falling back to 0.0.0-alpha (and AssemblyVersion
# 0.0.0.0, which breaks XISOSharp's ZArchiveSharp reference).
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json

Expand All @@ -51,12 +51,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json

Expand All @@ -72,13 +72,13 @@ jobs:
runs-on: ubuntu-latest
needs: [build-and-test, fuzz-smoke]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# MinVer needs the tags so tagged builds pack the release version.
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json

Expand All @@ -93,7 +93,7 @@ jobs:
&& dotnet pack ZArchiveSharp.Cli/ZArchiveSharp.Cli.csproj --no-build --configuration Release --output ./artifacts

- name: Upload NuGet artifacts
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: nuget-packages
path: |
Expand All @@ -108,16 +108,16 @@ jobs:
steps:
# Needed for global.json (setup-dotnet reads it); the packages come
# from the downloaded artifact, not the checkout.
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Download NuGet artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
name: nuget-packages
path: ./artifacts

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json

Expand Down Expand Up @@ -154,13 +154,13 @@ jobs:
rid: win-arm64
format: zip
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
# MinVer reads the release tag; the default shallow checkout has none.
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
uses: actions/setup-dotnet@v6
with:
global-json-file: global.json

Expand Down Expand Up @@ -219,7 +219,7 @@ jobs:
Compress-Archive -Path (Join-Path $out '*') -DestinationPath "release_${version}_${{ matrix.rid }}.zip"

- name: Upload release bundle
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: release-${{ matrix.rid }}
path: release_*.${{ matrix.format }}
Expand All @@ -232,7 +232,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
steps:
- name: Download release bundles
uses: actions/download-artifact@v4
uses: actions/download-artifact@v8
with:
pattern: release-*
path: dist
Expand Down
Loading