Skip to content

xt0rted/dotnet-tool-restore

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

.NET Core Local Tool Restore

CI CodeQL

Restore your .NET Core 3.0+ local tools. These are located in your .config/dotnet-tools.json file.

Usage

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-dotnet@v1
        with:
          dotnet-version: 3.1.101
      - uses: xt0rted/dotnet-tool-restore@v1
      - run: dotnet-format --dry-run

License

The scripts and documentation in this project are released under the MIT License