Skip to content
This repository was archived by the owner on Aug 11, 2025. It is now read-only.

Commit 4af3201

Browse files
authored
Create publish.yml
1 parent 9fff69d commit 4af3201

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
12+
build:
13+
14+
runs-on: windows-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v3
19+
20+
- name: Install .NET Core
21+
uses: actions/setup-dotnet@v3
22+
with:
23+
dotnet-version: 6.0.x
24+
25+
- name: Restore the application
26+
run: nuget restore
27+
28+
- name: Build the application
29+
run: dotnet publish /t:MetadataConverter2_CLI /p:Configuration=Release
30+
31+
- name: Upload build artifacts
32+
uses: actions/upload-artifact@v3
33+
with:
34+
name: net6.0
35+
path: MetadataConverter2.CLI/bin/Release/net6.0/publish

0 commit comments

Comments
 (0)