mirror of
https://github.com/netchx/netch.git
synced 2026-03-18 18:13:21 +08:00
33 lines
653 B
YAML
33 lines
653 B
YAML
name: Netch Build CI
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
runs-on: windows-2022
|
|
steps:
|
|
- name: MSBuild
|
|
uses: microsoft/setup-msbuild@v1.0.3
|
|
with:
|
|
vs-prerelease: true
|
|
|
|
- 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
|