Skip to content

Commit 6671ebb

Browse files
committed
Update GitHub Actions references
1 parent 0e3c582 commit 6671ebb

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

.github/workflows/build-test.yml

+11-11
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
fail-fast: false
2020
matrix:
2121
os: [ubuntu-latest, windows-latest, macos-latest]
22-
target: [netstandard2.0, netstandard2.1, net6.0]
22+
target: [netstandard2.0, netstandard2.1, net6.0, net462]
2323
env:
2424
LIB_PROJ: src/ICSharpCode.SharpZipLib/ICSharpCode.SharpZipLib.csproj
2525
steps:
26-
- uses: actions/checkout@v3
26+
- uses: actions/checkout@v4
2727
with:
2828
ref: ${{ github.events.inputs.tag }}
2929
fetch-depth: 0
3030

3131
- name: Setup .NET
32-
uses: actions/setup-dotnet@v1
32+
uses: actions/setup-dotnet@v4
3333
with:
3434
dotnet-version: '6.0.x'
3535

@@ -51,13 +51,13 @@ jobs:
5151
os: [ubuntu, macos]
5252
target: [net6.0]
5353
steps:
54-
- uses: actions/checkout@v2
54+
- uses: actions/checkout@v4
5555
with:
5656
fetch-depth: 0
5757

5858
- name: Setup .NET Core
5959
if: matrix.target == 'net6.0'
60-
uses: actions/setup-dotnet@v1
60+
uses: actions/setup-dotnet@v4
6161
with:
6262
dotnet-version: '6.0.x'
6363

@@ -79,12 +79,12 @@ jobs:
7979
DOTCOVER_PKG: jetbrains.dotcover.commandlinetools
8080
COVER_SNAPSHOT: SharpZipLib.dcvr
8181
steps:
82-
- uses: actions/checkout@v3
82+
- uses: actions/checkout@v4
8383
with:
8484
fetch-depth: 0
8585

8686
- name: Setup .NET
87-
uses: actions/setup-dotnet@v1
87+
uses: actions/setup-dotnet@v4
8888
with:
8989
dotnet-version: '6.0.x'
9090

@@ -110,7 +110,7 @@ jobs:
110110
files: dotcover-report.xml
111111

112112
- name: Upload coverage snapshot artifact
113-
uses: actions/upload-artifact@v2
113+
uses: actions/upload-artifact@v4
114114
with:
115115
name: Code coverage snapshot
116116
path: ${{env.COVER_SNAPSHOT}}
@@ -124,13 +124,13 @@ jobs:
124124
PKG_PROPS: '/p:ContinuousIntegrationBuild=true /p:EmbedUntrackedSources=true'
125125

126126
steps:
127-
- uses: actions/checkout@v2
127+
- uses: actions/checkout@v4
128128
with:
129129
ref: ${{ github.events.inputs.tag }}
130130
fetch-depth: 0
131131

132132
- name: Setup .NET Core
133-
uses: actions/setup-dotnet@v1
133+
uses: actions/setup-dotnet@v4
134134
with:
135135
dotnet-version: '6.0.x'
136136

@@ -159,7 +159,7 @@ jobs:
159159
run: dotnet pack ${{ env.PKG_PROJ }} -c Release --output dist ${{ env.PKG_PROPS }} /p:Version=${{ env.PKG_VERSION }}
160160

161161
- name: Upload nuget package artifact
162-
uses: actions/upload-artifact@v2
162+
uses: actions/upload-artifact@v4
163163
with:
164164
name: Nuget package
165165
path: dist/*.nupkg

.github/workflows/codeql-analysis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
runs-on: windows-latest
1717
name: Generate DocFX documentation
1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
with:
2121
ref: ${{ github.events.inputs.tag }}
2222

2323
- name: Setup .NET
24-
uses: actions/setup-dotnet@v1
24+
uses: actions/setup-dotnet@v4
2525
with:
2626
dotnet-version: '6.0.x'
2727

@@ -35,7 +35,7 @@ jobs:
3535
run: docfx docs/help/docfx.json --warningsAsErrors
3636

3737
- name: Upload documentation as artifact
38-
uses: actions/upload-artifact@v2
38+
uses: actions/upload-artifact@v4
3939
with:
4040
name: site
4141
path: docs/help/_site
@@ -46,10 +46,10 @@ jobs:
4646
name: Update github pages docs
4747
steps:
4848
- name: Checkout
49-
uses: actions/checkout@v3
49+
uses: actions/checkout@v4
5050

5151
- name: Download Artifacts # The built project is downloaded into the 'site' folder.
52-
uses: actions/download-artifact@v1
52+
uses: actions/download-artifact@v4
5353
with:
5454
name: site
5555

0 commit comments

Comments
 (0)