Skip to content

build(deps): bump nuget/setup-nuget from 3 to 4 #1766

build(deps): bump nuget/setup-nuget from 3 to 4

build(deps): bump nuget/setup-nuget from 3 to 4 #1766

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