Merge pull request #6 from redwyre/release/1.3 #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build UnityTemplates extension | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout the code | |
uses: actions/checkout@v2 | |
- name: Add nuget to PATH | |
uses: nuget/setup-nuget@v1 | |
- name: Add msbuild to PATH | |
uses: microsoft/[email protected] | |
- name: Nuget restore | |
run: msbuild /t:restore | |
- name: Build | |
run: msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal | |
- name: Deploy artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: UnityTemplates.vsix | |
path: UnityTemplates\bin\Release\UnityTemplates.vsix | |