From b83cd00526f2eb5c7473b0549b778c31af925e15 Mon Sep 17 00:00:00 2001 From: Husky <33176298+CorentinPtrl@users.noreply.github.com> Date: Mon, 13 Dec 2021 15:43:18 +0100 Subject: [PATCH] Update msbuild.yml --- .github/workflows/msbuild.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/msbuild.yml b/.github/workflows/msbuild.yml index 9cb2e20..c518f0b 100644 --- a/.github/workflows/msbuild.yml +++ b/.github/workflows/msbuild.yml @@ -30,3 +30,23 @@ jobs: # Add additional options to the MSBuild command line here (like platform or verbosity level). # See https://docs.microsoft.com/visualstudio/msbuild/msbuild-command-line-reference run: msbuild SotCoreWrapper/SotCoreWrapper.vcxproj /m /property:Platform=x64 + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: commit_${{ github.sha }} + release_name: Commit ${{ github.sha }} + draft: false + prerelease: true + - name: Release Windows Build + id: release-win + uses: actions/upload-release-asset@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + upload_url: ${{ steps.create_release.outputs.upload_url }} + asset_path: SotCoreWrapper.dll + asset_name: SotCoreWrapper.dll + asset_content_type: application/octet-stream