Skip to content

Commit

Permalink
Add Github Actions builds for published releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumball2415 committed May 10, 2023
1 parent b4e5723 commit 085c37e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build-release-artifact.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: build-artifact-publish
on:
release:
types: [published]
jobs:
build-matrix-publish:
runs-on: windows-2022
strategy:
matrix:
platform: [x64, Win32]
configuration: [Release, Debug]
steps:
- uses: actions/checkout@master
- name: Build program
shell: cmd
run: |
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsamd64_x86.bat"
call msbuild -m:5 -nologo -p:Configuration="${{ matrix.configuration }}" -p:Platform="${{ matrix.platform }}"
if %ERRORLEVEL%==1 exit %ERRORLEVEL%
call release.bat ${{ matrix.configuration }} ${{ matrix.platform }}
- name: Upload binaries
uses: actions/upload-artifact@master
with:
name: build-artifacts
path: distribute/*.7z

0 comments on commit 085c37e

Please sign in to comment.