Files
netch/.github/workflows/build.yml
Connection Refused fa23561827 Update build.yml
2021-04-02 01:49:24 +08:00

31 lines
612 B
YAML

name: Netch CI
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- name: MSBuild
uses: microsoft/setup-msbuild@v1.0.2
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 1
- name: Download
shell: pwsh
run: .\download.ps1
- name: Build
shell: pwsh
run: .\build.ps1 Release -o release
- name: Upload
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
uses: actions/upload-artifact@v2
with:
name: Netch
path: release