File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,18 +21,17 @@ jobs:
21
21
run : |
22
22
cd wwwroot/js/
23
23
npm install
24
+
24
25
- name : Build Node.js
25
26
run : |
26
27
cd wwwroot/js/
27
28
npm run build
29
+
28
30
- name : Restore dependencies
29
31
run : dotnet restore
30
32
- name : Build
31
33
run : dotnet build --no-restore
32
- publish :
33
- runs-on : ubuntu-latest
34
- needs : build
35
- steps :
34
+
36
35
- name : Publish for linux-x64
37
36
run : dotnet publish -c Release -r linux-x64 --property:PublishDir=bin/publish_dist/linux-x64/ -p:PublishSingleFile=true --self-contained true
38
37
- name : Publish for win-x64
41
40
run : dotnet publish -c Release -r linux-arm64 --property:PublishDir=bin/publish_dist/linux-arm64/ -p:PublishSingleFile=true --self-contained true
42
41
- name : Publish for linux-arm
43
42
run : dotnet publish -c Release -r linux-arm --property:PublishDir=bin/publish_dist/linux-arm/ -p:PublishSingleFile=true --self-contained true
44
- upload :
45
- runs-on : ubuntu-latest
46
- needs : publish
47
- steps :
43
+
48
44
- name : ' Upload Artifact for linux-x64'
49
45
uses : actions/upload-artifact@v3
50
46
with :
You can’t perform that action at this time.
0 commit comments