Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit 52f6166

Browse files
committed
Update ci.yml to latest action versions
1 parent 178bce2 commit 52f6166

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

.github/workflows/ci.yml

+7-10
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,6 @@ on:
1515
description: Create a release
1616
required: true
1717
default: "false"
18-
branches:
19-
- main
20-
- release/*
2118

2219
env:
2320
IS_STABLE_BUILD: ${{ github.event.inputs.is_stable_build }}
@@ -37,23 +34,23 @@ jobs:
3734
package_version: ${{ steps.build_script.outputs.package_version }}
3835

3936
steps:
40-
- uses: actions/checkout@v3
37+
- uses: actions/checkout@v4
4138
- name: Setup .NET
42-
uses: actions/setup-dotnet@v3
39+
uses: actions/setup-dotnet@v4
4340
with:
4441
dotnet-version: |
4542
6.0.x
4643
7.0.x
4744
- name: Run build script
4845
id: build_script
4946
run: ./build.ps1 -ci
50-
- uses: actions/upload-artifact@v3
47+
- uses: actions/upload-artifact@v4
5148
if: ${{ matrix.os == 'windows-latest' }}
5249
with:
5350
name: packages
5451
path: artifacts/
5552
if-no-files-found: error
56-
- uses: codecov/codecov-action@v3
53+
- uses: codecov/codecov-action@v4
5754
with:
5855
name: unittests-${{ matrix.os }}
5956
fail_ci_if_error: true
@@ -66,10 +63,10 @@ jobs:
6663
steps:
6764
- run: echo "Releasing ${{ env.PACKAGE_VERSION }}"
6865
- name: Setup NuGet
69-
uses: NuGet/setup-nuget@v1
66+
uses: NuGet/setup-nuget@v2
7067
with:
7168
nuget-version: latest
72-
- uses: actions/download-artifact@v2
69+
- uses: actions/download-artifact@v4
7370
with:
7471
name: packages
7572
path: packages
@@ -80,7 +77,7 @@ jobs:
8077
- name: Push to NuGet.org
8178
run: nuget push packages\*.nupkg -ApiKey ${{ secrets.NUGET_API_KEY }} -Source https://api.nuget.org/v3/index.json -SkipDuplicate
8279
- name: Create GitHub release
83-
uses: softprops/action-gh-release@v1
80+
uses: softprops/action-gh-release@v2
8481
env:
8582
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8683
with:

0 commit comments

Comments
 (0)