Skip to content

Commit

Permalink
Create publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Razmoth authored Mar 18, 2023
1 parent 9fff69d commit 4af3201
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Build

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
workflow_dispatch:

jobs:

build:

runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install .NET Core
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

- name: Restore the application
run: nuget restore

- name: Build the application
run: dotnet publish /t:MetadataConverter2_CLI /p:Configuration=Release

- name: Upload build artifacts
uses: actions/upload-artifact@v3
with:
name: net6.0
path: MetadataConverter2.CLI/bin/Release/net6.0/publish

0 comments on commit 4af3201

Please sign in to comment.