Skip to content

Commit 2879a7c

Browse files
Update actions yml
1 parent 2bd57f4 commit 2879a7c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,18 @@
11
name: Alfae CI
22

3-
on: push
3+
on:
4+
workflow_dispatch:
5+
push:
46

57
jobs:
68
build-linux:
79
runs-on: ubuntu-latest
810
steps:
911
- name: clone repo
10-
uses: actions/checkout@v2
12+
uses: actions/checkout@v6
1113

1214
- name: Setup .NET
13-
uses: actions/setup-dotnet@v1
15+
uses: actions/setup-dotnet@v5
1416
with:
1517
dotnet-version: 8.0.x
1618

@@ -80,7 +82,7 @@ jobs:
8082
run: zip -r Linux.zip ./Release
8183

8284
- name: Upload artifacts
83-
uses: actions/upload-artifact@v2
85+
uses: actions/upload-artifact@v6
8486
with:
8587
name: Alfae Linux
8688
path: |
@@ -90,10 +92,10 @@ jobs:
9092
runs-on: windows-latest
9193
steps:
9294
- name: clone repo
93-
uses: actions/checkout@v2
95+
uses: actions/checkout@v6
9496

9597
- name: Setup .NET
96-
uses: actions/setup-dotnet@v1
98+
uses: actions/setup-dotnet@v5
9799
with:
98100
dotnet-version: 8.0.x
99101

@@ -156,7 +158,7 @@ jobs:
156158
Compress-Archive ./Release Windows.zip
157159
158160
- name: Upload artifacts
159-
uses: actions/upload-artifact@v2
161+
uses: actions/upload-artifact@v6
160162
with:
161163
name: Alfae Windows
162164
path: |

0 commit comments

Comments
 (0)