Add PreviousQuest[3] to Quest definition #353
Workflow file for this run
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 SaintCoinach | |
on: [push, pull_request] | |
concurrency: build-${{ github.ref }} | |
jobs: | |
build: | |
name: Build on Windows | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Define Version | |
id: define-version | |
run: | | |
$env:COMMIT = $env:GITHUB_SHA.Substring(0, 7) | |
echo "::set-output name=commit::$env:COMMIT" | |
- uses: nuget/setup-nuget@v1 | |
with: | |
nuget-version: latest | |
- name: Restore Nuget Packages | |
run: nuget restore SaintCoinach.sln | |
- name: Build DotNet4 | |
run: | | |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\" | |
.\MSBuild.exe $Env:GITHUB_WORKSPACE\SaintCoinach.sln /t:Build /p:Configuration=Release | |
- name: Create Release ZIPs | |
if: ${{ github.ref == 'refs/heads/master' }} | |
run: | | |
mkdir release-out | |
Compress-Archive -Path .\Godbert\bin\Release\* -DestinationPath .\release-out\Godbert.zip -Force | |
Compress-Archive -Path .\SaintCoinach.Cmd\bin\Release\* -DestinationPath .\release-out\SaintCoinach.Cmd.zip -Force | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
if: ${{ github.ref == 'refs/heads/master' }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
files: release-out/** | |
name: Release for ${{ steps.define-version.outputs.commit }} | |
body_path: .github\RELEASE.md | |
prerelease: false | |
tag_name: ${{ steps.define-version.outputs.commit }} |