Skip to content

Commit

Permalink
Setup dotnet in all CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
Tarmil committed Dec 28, 2021
1 parent 0329337 commit 6c5ec67
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ jobs:
needs: build
if: ${{ github.ref == 'refs/heads/master' }}
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'

- name: Download nupkg
uses: actions/download-artifact@v1
with:
Expand All @@ -75,6 +80,11 @@ jobs:
- name: Checkout
uses: actions/checkout@v1

- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'

- name: Prepare
run: |
# GH Actions puts us in detached head, but for nbgv, we need to be on the branch
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Setup dotnet
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.100'

- name: Download nupkg
uses: dawidd6/action-download-artifact@v2
with:
Expand Down

0 comments on commit 6c5ec67

Please sign in to comment.