-
-
Notifications
You must be signed in to change notification settings - Fork 435
22 lines (20 loc) · 978 Bytes
/
build.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: build
on: [push, pull_request]
jobs:
build:
runs-on: windows-2022
steps:
- name: checkout
uses: actions/checkout@v1
- name: Disable assembly signing
run: |
((Get-Content -path EverythingToolbar/EverythingToolbar.csproj -Raw) -replace '<SignAssembly>true</SignAssembly>','<SignAssembly>false</SignAssembly>') | Set-Content -Path EverythingToolbar/EverythingToolbar.csproj
((Get-Content -path EverythingToolbar.Deskband/EverythingToolbar.Deskband.csproj -Raw) -replace '<SignAssembly>true</SignAssembly>','<SignAssembly>false</SignAssembly>') | Set-Content -Path EverythingToolbar.Deskband/EverythingToolbar.Deskband.csproj
- name: Add msbuild to PATH
uses: microsoft/setup-msbuild@v1.1.2
- name: Install NuGet
uses: nuget/setup-nuget@v1
- name: NuGet dependencies
run: nuget restore
- name: Build
run: MSBuild $Env:GITHUB_WORKSPACE /p:Configuration=Release