Skip to content

Commit 59128d6

Browse files
committed
Update workflow
1 parent 1dc5699 commit 59128d6

1 file changed

Lines changed: 20 additions & 10 deletions

File tree

.github/workflows/main.yml

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,24 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
runs-on: ubuntu-latest
7+
runs-on: windows-latest
8+
89
steps:
9-
- uses: actions/checkout@v3
10-
- name: Setup .NET
11-
uses: actions/setup-dotnet@v3
12-
with:
13-
dotnet-version: 7.0.x
14-
- name: Restore dependencies
15-
run: dotnet restore
16-
- name: Build
17-
run: dotnet build --no-restore
10+
- name: Checkout
11+
uses: actions/checkout@v3
12+
13+
- name: Install .NET
14+
uses: actions/setup-dotnet@v3
15+
with:
16+
dotnet-version: 7.0.x
17+
18+
- name: Publish
19+
run: >
20+
dotnet publish SoundCloudDownloader
21+
--output SoundCloudDownloader/bin/publish
22+
--configuration Release
23+
- name: Upload artifacts
24+
uses: actions/upload-artifact@v3
25+
with:
26+
name: SoundCloudDownloader
27+
path: SoundCloudDownloader/bin/publish

0 commit comments

Comments
 (0)