-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (25 loc) · 790 Bytes
/
release.yml
File metadata and controls
29 lines (25 loc) · 790 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Build Project and Publish Github Release
on:
push:
branches:
- master
jobs:
build-and-release:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.0.3
- name: Install Nuget Dependencies
run: |
nuget install .\CLI\packages.config -OutputDirectory packages
- name: Build Project with MSBuild
run: |
MSBuild.exe /property:Configuration=Release
- name: Make Github Release
run: |
git config --global user.email "rishit.bansal0@gmail.com"
git config --global user.name "thebongy"
npx release-it
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}