役職作成ドキュメント(メソッド・インターフェース)の網羅的更新 #1793
Workflow file for this run
This file contains hidden or 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: AutoBuildAndTransCheck | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, reopened, labeled] | |
| permissions: | |
| contents: read | |
| issues: write | |
| pull-requests: write | |
| jobs: | |
| build_check: | |
| runs-on: windows-2025 | |
| if: contains(github.event.pull_request.labels.*.name, 'ReadyToMerge') | |
| steps: | |
| - name: Generate token | |
| id: gen_token | |
| uses: actions/create-github-app-token@v3 | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.PRIVATE_KEY }} | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: ${{ github.event.pull_request.head.ref }} | |
| repository: ${{github.event.pull_request.head.repo.full_name}} | |
| submodules: true | |
| - name: SetupNuget | |
| uses: nuget/setup-nuget@v4 | |
| - name: RestoreNugetPackage | |
| run: nuget restore ExtremeRoles.sln | |
| - name: SetupPython | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: '3.11' | |
| architecture: 'x64' | |
| cache: 'pip' | |
| - name: InstallPythonLibrary | |
| run: pip install -r requirements.txt | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v5 | |
| with: | |
| dotnet-version: 10.x | |
| - name: AddMsBuildToPATH | |
| uses: microsoft/setup-msbuild@v3 | |
| - name: RunBuild | |
| id: build | |
| run: msbuild ExtremeRoles.sln -t:restore,build -p:Configuration=Release -p:RestorePackagesConfig=true | |
| - name: CheckTransData | |
| if: always() && steps.build.outcome != 'skipped' | |
| run: python createtransdatareport.py ${{ steps.build.outcome }} | |
| - name: PostComment | |
| if: always() && steps.build.outcome != 'skipped' | |
| uses: thollander/actions-comment-pull-request@v3 | |
| with: | |
| github-token: ${{ steps.gen_token.outputs.token }} | |
| pr-number: ${{ github.event.number }} | |
| file-path: .github/workflows/comment.md |