Skip to content

release version1.0

release version1.0 #74

Workflow file for this run

name: DebugBuild
env:
CONFIGURATION: Debug
SOLUTION_FILE_PATH: DirectXGame/project/DirectXGame.sln
SOLUTION_NAME: DirectXGame
BATCH_FILE_URL: https://raw.githubusercontent.com/TaiseiHamaya/DirectXGame/refs/heads/master/ProjectGeneratorTool/CreateSolution.ps1
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: windows-2022
steps:
- name: Download CreateSolution.ps1
run: |
curl -o CreateSolution.ps1 ${{ env.BATCH_FILE_URL }}
- name: Add MSBuild to PATH
uses: microsoft/setup-msbuild@v2
with:
msbuild-architecture: x64
- name: Generate Solution File
run: .\CreateSolution.ps1 ${{ env.SOLUTION_NAME }}
- name: Build
run: msbuild ${{env.SOLUTION_FILE_PATH}} /p:Platform=x64,Configuration=${{env.CONFIGURATION}}
notification:
needs: build
if: ${{ always() }}
runs-on: ubuntu-22.04
steps:
- name: Discord Notification
uses: sarisia/actions-status-discord@v1
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
url: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
title: Build Result(${{ needs.build.result }})
username: GitHub
avatar_url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
status: ${{ needs.build.result }}