Move dependency graph settings to the relevant job

This commit is contained in:
Gunter Labes 2023-08-23 14:46:26 +02:00 committed by GitHub
parent 4774505c8c
commit 8e7f5c03af
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,13 +7,6 @@ on:
branches: [ master ]
workflow_dispatch:
permissions:
contents: write
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VCPKG_FEATURE_FLAGS: dependencygraph
jobs:
checks: # checks that don't need a wesnoth binary
runs-on: ubuntu-latest
@ -264,6 +257,9 @@ jobs:
cfg: [Debug, Release]
env:
CFG: ${{ matrix.cfg }}
VCPKG_FEATURE_FLAGS: dependencygraph
permissions:
contents: write # for dependency graph
defaults:
run:
shell: cmd