These workflows can be used in different repositories. See reusing workflows for more details.
Source: validate-codecov.yaml
Usage:
validate:
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/validate-codecov.yaml@main
You can also change the config-file
input. It's codecov.yaml
by default:
validate:
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/validate-codecov.yaml@main
with:
config-file: .github/codecov.yaml
Source: dotnet-build-and-test.yaml
Usage:
build-and-test:
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/dotnet-build-and-test.yaml@main
with:
# flags are comma separated
codecov-flags: ",clean_environment_tests"
Source: publish-nuget-packages.yaml
Usage:
publish:
needs: get-version
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/publish-nuget-packages.yaml@main
with:
version: ${{ needs.get-version.outputs.version }}
use-nuget: true
use-github: false
secrets:
NUGET_API_KEY: ${{ secrets.NUGET_KEY }}
Source: mkdocs-build-and-deploy.yaml
Usage:
jobs:
build-and-deploy:
permissions:
contents: read
pages: write
id-token: write
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/mkdocs-build-and-deploy.yaml@main
Source: compare-to-meta.yaml
Usage:
match-meta:
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/compare-to-meta.yaml@main
Source: update-from-meta.yaml
Usage:
permissions:
pull-requests: write
contents: write
jobs:
update:
uses: Nexus-Mods/NexusMods.App.Meta/.github/workflows/update-from-meta.yaml@main