Skip to content

Replace hardcoded plugin version with a compile parameter #6

Replace hardcoded plugin version with a compile parameter

Replace hardcoded plugin version with a compile parameter #6

Workflow file for this run

name: Automatic Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
SOLUTION_FILE_PATH: .
BUILD_CONFIGURATION: Release
PLATFORM: x86
VERSION: GA-${{ github.run_number }} # Dynamic version based on run number
permissions:
contents: read
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Add MSBuild to PATH
uses: microsoft/[email protected]
- name: Build
working-directory: ${{env.GITHUB_WORKSPACE}}
run: msbuild /m /p:Configuration=${{env.BUILD_CONFIGURATION}} /p:Version=${{env.VERSION}} ${{env.SOLUTION_FILE_PATH}} /p:Platform=${{env.PLATFORM}}
- name: Upload Build Artifacts
uses: actions/upload-artifact@v3
with:
name: build-artifacts
path: |
Release/*.dll
Release/*.json