1
0
mirror of https://github.com/bitdefender/bddisasm.git synced 2024-11-18 05:28:09 +00:00

Try to add Windows binaries to a release

This commit is contained in:
Anichitei Ionel-Cristinel 2020-11-20 15:39:24 +02:00 committed by GitHub
parent 1aa0e0d71b
commit 3bb888fc99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,9 @@ on:
- 'bddisasm_test/**'
- 'bdshemu_test/**'
- 'LICENSE'
release:
types: [published]
jobs:
Linux-build:
@ -81,6 +84,19 @@ jobs:
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=x64 bddisasm.sln
- name: Build bddisasm and bdshemu for Win32
run: MSBuild /t:Rebuild /p:Configuration=Release /p:Platform=Win32 bddisasm.sln
- name: Zip binaries
run: |
del bin\x64\Release\*.idb
del bin\Win32\Release\*.idb
tar.exe -acf x64-windows-release.zip bin\x64\Release
tar.exe -acf x86-windows-release.zip bin\Win32\Release
if: ${{ github.event_name == 'release' }}
- name: Release
uses: AButler/upload-release-assets@v2.0
with:
files: 'x64-windows-release.zip;x86-windows-release.zip'
repo-token: ${{ secrets.GITHUB_TOKEN }}
Code-checks: