Skip to content

Commit f53d2b9

Browse files
author
Ibrahim Ethem Gursoy
committed
Update dotnet.yml
1 parent f98f743 commit f53d2b9

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,17 @@ jobs:
2121
run: |
2222
cd wwwroot/js/
2323
npm install
24+
2425
- name: Build Node.js
2526
run: |
2627
cd wwwroot/js/
2728
npm run build
29+
2830
- name: Restore dependencies
2931
run: dotnet restore
3032
- name: Build
3133
run: dotnet build --no-restore
32-
publish:
33-
runs-on: ubuntu-latest
34-
needs: build
35-
steps:
34+
3635
- name: Publish for linux-x64
3736
run: dotnet publish -c Release -r linux-x64 --property:PublishDir=bin/publish_dist/linux-x64/ -p:PublishSingleFile=true --self-contained true
3837
- name: Publish for win-x64
@@ -41,10 +40,7 @@ jobs:
4140
run: dotnet publish -c Release -r linux-arm64 --property:PublishDir=bin/publish_dist/linux-arm64/ -p:PublishSingleFile=true --self-contained true
4241
- name: Publish for linux-arm
4342
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+
4844
- name: 'Upload Artifact for linux-x64'
4945
uses: actions/upload-artifact@v3
5046
with:

0 commit comments

Comments
 (0)