update readme with a bit more info #42
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-on-push | |
on: [push] | |
jobs: | |
build_kkpviewer: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
path: KKPViewer | |
submodules: recursive | |
- name: Setup MSBuild | |
uses: microsoft/setup-msbuild@v2 | |
- name: Build Debug|x86 | |
run: msbuild .\KKPViewer\KKPViewer.sln /p:Configuration=Debug /p:Platform=x86 | |
- name: Build Release|x86 | |
run: msbuild .\KKPViewer\KKPViewer.sln /p:Configuration=Release /p:Platform=x86 | |
- name: Build Debug|x64 | |
run: msbuild .\KKPViewer\KKPViewer.sln /p:Configuration=Debug /p:Platform=x64 | |
- name: Build Release|x64 | |
run: msbuild .\KKPViewer\KKPViewer.sln /p:Configuration=Release /p:Platform=x64 | |
- name: Build failure check | |
if: ${{ failure() }} | |
uses: joelwmale/webhook-action@master | |
with: | |
url: ${{ secrets.WEBHOOK_URL }} | |
headers: '{"X-Github-Raw-Secret": "${{ secrets.WEBHOOK_SECRET }}", "X-Github-Event": "build-failure"}' | |
body: '{ "github":${{ toJSON(github) }},"run_url":"${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" }' |