From c3439fb216f42af7a06cc5fa24571ddc73e88efa Mon Sep 17 00:00:00 2001 From: Xpl0itR Date: Thu, 11 Jan 2024 18:25:27 +0000 Subject: [PATCH] add github action for building releases --- .github/workflows/release.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..4693cc1 --- /dev/null +++ b/.github/workflows/release.yml @@ -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