Skip to content

Commit

Permalink
Merge pull request #16 from xt0rted/xt0rted-patch-2
Browse files Browse the repository at this point in the history
Switch to xt0rted/setup-dotnet
  • Loading branch information
xt0rted committed Apr 12, 2022
2 parents f6c3691 + 08e1cfc commit e47dd2c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 23 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,10 @@ jobs:
shell: bash

- name: Set up .NET
uses: actions/setup-dotnet@v2.0.0
with:
dotnet-version: |
3.1.x
5.0.x
- name: Set up .NET (global.json)
uses: actions/setup-dotnet@v2.0.0
uses: xt0rted/setup-dotnet@v1.0.0
with:
source-url: https://nuget.pkg.github.com/xt0rted/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}

- run: dotnet tool restore

Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,10 @@ jobs:
languages: ${{ matrix.language }}

- name: Set up .NET
uses: actions/setup-dotnet@v2.0.0
uses: xt0rted/setup-dotnet@v1.0.0
with:
source-url: https://nuget.pkg.github.com/xt0rted/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,10 @@ jobs:
uses: actions/checkout@v3.0.0

- name: Set up .NET
uses: actions/setup-dotnet@v2.0.0
with:
dotnet-version: |
3.1.x
5.0.x
- name: Set up .NET (global.json)
uses: actions/setup-dotnet@v2.0.0
uses: xt0rted/setup-dotnet@v1.0.0
with:
source-url: https://nuget.pkg.github.com/xt0rted/index.json
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}

- name: Get changelog entry
uses: mindsers/changelog-reader-action@v2.0.0
Expand Down

0 comments on commit e47dd2c

Please sign in to comment.