Skip to content

Commit 29b2747

Browse files
committed
update github workflow
1 parent b629f18 commit 29b2747

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build-test-publish-release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ jobs:
1818
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
1919
steps:
2020
- name: Checkout repository
21-
uses: actions/checkout@v2
21+
uses: actions/checkout@v6
2222
with:
2323
fetch-depth: 0
2424

2525
- name: Setup Node
26-
uses: actions/setup-node@v2
26+
uses: actions/setup-node@v6
2727
with:
2828
node-version: 18.x
2929

3030
- name: Install Node dependencies
3131
run: npm install
3232

3333
- name: Setup .Net
34-
uses: actions/setup-dotnet@v1
34+
uses: actions/setup-dotnet@v5
3535
with:
36-
dotnet-version: "7.0.x"
36+
dotnet-version: "10.0.x"
3737

3838
- name: Install .Net dependencies
3939
run: dotnet restore
@@ -68,22 +68,22 @@ jobs:
6868
RELEASE_VERSION: ${{needs.build-and-test.outputs.next-release-version}}
6969
steps:
7070
- name: Checkout repository
71-
uses: actions/checkout@v2
71+
uses: actions/checkout@v6
7272
with:
7373
fetch-depth: 0
7474

7575
- name: Setup Node
76-
uses: actions/setup-node@v2
76+
uses: actions/setup-node@v6
7777
with:
7878
node-version: 18.x
7979

8080
- name: Install Node dependencies
8181
run: npm install
8282

8383
- name: Setup .Net
84-
uses: actions/setup-dotnet@v1
84+
uses: actions/setup-dotnet@v5
8585
with:
86-
dotnet-version: "7.0.x"
86+
dotnet-version: "10.0.x"
8787

8888
- name: Run publish Windows
8989
run: dotnet publish -c release -r win-x64 ./Snek.Console "-p:Version=${{ env.RELEASE_VERSION }}" -o build/win-x64

0 commit comments

Comments
 (0)