Files
netch/.github/workflows/ci.yml
Connection Refused 8a5c0dcd1d Update ci.yml
2021-04-01 23:13:27 +08:00

33 lines
689 B
YAML

name: Netch CI
on:
push:
branches-ignore:
dependabot/**
pull_request:
jobs:
build:
name: Build
runs-on: windows-latest
env:
OutputPath: Netch\bin\Publish\Debug
steps:
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Build Solution
shell: pwsh
run: .\BUILD.ps1 Release -o ${{ env.OutputPath }}
- name: Upload Artifact
continue-on-error: true
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v2
with:
name: Netch
path: ${{ env.OutputPath }}