mirror of
https://github.com/netchx/netch.git
synced 2026-03-14 17:43:18 +08:00
28 lines
576 B
YAML
28 lines
576 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: Build
|
|
shell: pwsh
|
|
run: |
|
|
.\build.ps1 -Configuration Release -OutputPath release
|
|
|
|
- name: Upload
|
|
if: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: Netch
|
|
path: release
|