Skip to content

Commit 46ae7e4

Browse files
committed
Update GitHub Action actions
1 parent 0e4a742 commit 46ae7e4

File tree

1 file changed

+8
-13
lines changed

1 file changed

+8
-13
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,43 +16,38 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Get the sources
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
2222

23-
- name: Install .NET Core SDK 6.0.x
24-
uses: actions/setup-dotnet@v1
23+
- name: Install .NET Core SDK 8.0.x
24+
uses: actions/setup-dotnet@v4
2525
with:
26-
dotnet-version: '6.0.x'
27-
28-
- name: Install .NET Core SDK 7.0.x
29-
uses: actions/setup-dotnet@v1
30-
with:
31-
dotnet-version: '7.0.x'
26+
dotnet-version: '8.0.x'
3227

3328
- name: Install .NET SDK (global.json)
34-
uses: actions/setup-dotnet@v3
29+
uses: actions/setup-dotnet@v4
3530
with:
3631
global-json-file: global.json
3732

3833
- name: Run Cake script
39-
uses: cake-build/cake-action@v1
34+
uses: cake-build/cake-action@1ddb5d1a0d0050fa2a714516d3af1ecff9eb4865
4035
env:
4136
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4237
NUGET_TOKEN: ${{secrets.NUGET_TOKEN}}
4338
with:
4439
cake-version: tool-manifest
4540
target: Release
4641

47-
- uses: actions/upload-artifact@v3
42+
- uses: actions/upload-artifact@v4
4843
name: Upload Artifacts
4944
with:
5045
name: scedi-package
5146
path: dist/package/
5247

5348
- name: Create Release
5449
if: startsWith(github.ref, 'refs/tags/')
55-
uses: softprops/action-gh-release@v1
50+
uses: softprops/action-gh-release@v2
5651
with:
5752
body: |
5853
Install the package from NuGet or download the `nupkg` directly below.

0 commit comments

Comments
 (0)