Skip to content

Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 in /src #438

Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 in /src

Bump Microsoft.SourceLink.GitHub from 1.1.1 to 8.0.0 in /src #438

Workflow file for this run

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.GITTOOLS_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 }}
WYAM_ACCESS_TOKEN: ${{ secrets.WYAM_ACCESS_TOKEN }}
WYAM_DEPLOY_BRANCH: gh-pages
WYAM_DEPLOY_REMOTE: https://github.com/GitTools/GitReleaseManager
CODECOV_REPO_TOKEN: ${{ secrets.CODECOV_REPO_TOKEN }}
GPR_USER: gittools-bot
GPR_PASSWORD: ${{ secrets.GPR_PASSWORD }}
steps:
- name: Checkout the repository
uses: actions/checkout@v2
- name: Fetch all tags and branches
run: git fetch --prune --unshallow
- name: Install .NET SDK 2.1.x, 3.1.x, 5.0.x, and 6.0.x
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
2.1.x
3.1.x
5.0.x
6.0.x
- name: Cache Tools
uses: actions/cache@v2
with:
path: tools
key: ${{ runner.os }}-tools-${{ hashFiles('recipe.cake') }}
- name: Build project
uses: cake-build/cake-action@v1
with:
script-path: recipe.cake
target: CI
verbosity: Normal
cake-version: tool-manifest
- name: Upload Issues-Report
uses: actions/upload-artifact@v2
with:
if-no-files-found: warn
name: ${{ matrix.os }} issues
path: BuildArtifacts/report.html
- name: Upload Packages
uses: actions/upload-artifact@v2
if: runner.os == 'Windows'
with:
if-no-files-found: warn
name: package
path: BuildArtifacts/Packages/**/*