add github action for building releases

This commit is contained in:
Xpl0itR 2024-01-11 18:25:27 +00:00 committed by GitHub
parent 1bca5e9272
commit c3439fb216
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 27 additions and 0 deletions

27
.github/workflows/release.yml vendored Normal file
View File

@ -0,0 +1,27 @@
name: Release
on:
release:
types:
- published
jobs:
release:
runs-on: 'windows-latest'
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Setup MSBuild
uses: microsoft/setup-msbuild@v1.1
with:
msbuild-architecture: x64
- name: Build
run: msbuild /m /p:Configuration=Release
- name: Release
uses: softprops/action-gh-release@v1
with:
files: x64/Release/VersionShim.dll
fail_on_unmatched_files: true