Migrate 7tv API to v3 #15
Workflow file for this run
This file contains 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 | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-20.04 | |
strategy: | |
matrix: | |
dotnet: [ '3.0.x', '3.1.x', '5.0.x' ] | |
name: Build project on .NET ${{ matrix.dotnet }} | |
steps: | |
- uses: actions/[email protected] | |
- name: Checkout submodules # checkout rest | |
shell: bash | |
run: | | |
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line | |
# git config --global url."https://github.com/".insteadOf "[email protected]:" | |
auth_header="$(git config --local --get http.https://github.com/.extraheader)" | |
git submodule sync --recursive | |
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1 | |
- name: Setup dotnet | |
uses: actions/[email protected] | |
with: | |
dotnet-version: ${{ matrix.dotnet }} | |
- run: dotnet build . |