v1.8.2 FIXED COLLISIONS #16
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 and Release | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- "*.md" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- "*.md" | |
workflow_dispatch: | |
jobs: | |
build: | |
name: Build and Publish GitHub Release | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: DotEnv | |
uses: xom9ikk/[email protected] | |
- name: Setup MSBuild | |
uses: microsoft/[email protected] | |
- name: Setup NuGet | |
uses: NuGet/[email protected] | |
- name: Restore Solution Packages | |
run: nuget restore $env:SOLUTION | |
- name: Build Solution | |
run: msbuild $env:SOLUTION -m | |
- name: Format Artifact List | |
id: artifacts | |
uses: frabert/[email protected] | |
with: | |
string: ${{ env.ARTIFACTS }} | |
pattern: ';' | |
replace-with: '\n' | |
- name: Create Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
name: "Workflow-Automated Deployment [#${{ github.run_number }}]" | |
tag_name: release-workflow-${{ github.run_number }} | |
body: "${{ env.RELEASE_BODY }}" | |
files: "${{ steps.artifacts.outputs.replaced }}" |