Bump the tests group across 1 directory with 2 updates #868
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: Build | |
| on: | |
| push: | |
| branches: | |
| - master | |
| - develop | |
| - "feature/**" | |
| - "release/**" | |
| - "hotfix/**" | |
| tags: | |
| - "*" | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ windows-2022 ] | |
| env: | |
| GITTOOLS_GITHUB_TOKEN: ${{ secrets.NUGET_GITHUB_TOKEN }} | |
| NUGET_API_KEY: ${{ secrets.NUGET_API_KEY }} | |
| NUGET_SOURCE: https://api.nuget.org/v3/index.json | |
| CHOCOLATEY_API_KEY: ${{ secrets.CHOCOLATEY_API_KEY }} | |
| CHOCOLATEY_SOURCE: https://push.chocolatey.org/ | |
| TWITTER_CONSUMER_KEY: ${{ secrets.TWITTER_CONSUMER_KEY }} | |
| TWITTER_CONSUMER_SECRET: ${{ secrets.TWITTER_CONSUMER_SECRET }} | |
| TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }} | |
| TWITTER_ACCESS_TOKEN_SECRET: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }} | |
| COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
| CODECOV_REPO_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }} | |
| GPR_USER: gittools-bot | |
| GPR_PASSWORD: ${{ secrets.NUGET_GITHUB_TOKEN }} | |
| steps: | |
| - name: Checkout the repository | |
| uses: actions/checkout@v4 | |
| - name: Fetch all tags and branches | |
| run: git fetch --prune --unshallow | |
| - name: Install .NET SDK 2.1.x, 3.1.x, 5.0.x, 8.0.x, and 9.0.x | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: | | |
| 2.1.x | |
| 3.1.x | |
| 5.0.x | |
| 8.0.x | |
| 9.0.x | |
| - name: Cache Tools | |
| uses: actions/cache@v4 | |
| with: | |
| path: tools | |
| key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }} | |
| - name: Build project | |
| uses: cake-build/cake-action@v3 | |
| with: | |
| script-path: recipe.cake | |
| target: CI | |
| verbosity: Normal | |
| cake-version: tool-manifest | |
| - name: Upload Issues-Report | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| if-no-files-found: warn | |
| name: ${{ matrix.os }} issues | |
| path: BuildArtifacts/report.html | |
| - name: Upload Packages | |
| uses: actions/upload-artifact@v4 | |
| if: runner.os == 'Windows' | |
| with: | |
| if-no-files-found: warn | |
| name: package | |
| path: BuildArtifacts/Packages/**/* |