Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to xt0rted/setup-dotnet #21

Merged
merged 1 commit into from
Apr 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,11 @@ jobs:
run: echo "VERSION_SUFFIX=alpha.${{ github.event.number }}" >> $GITHUB_ENV
shell: bash

# This action doesn't support comments in the global.json so for now we have to specify all sdk versions
- 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
dotnet-version: |
3.1.x
5.0.x
6.0.x
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}

- run: dotnet tool restore

Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,17 +36,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3.0.0

# This action doesn't support comments in the global.json so for now we have to specify all sdk versions
- 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
dotnet-version: |
3.1.x
5.0.x
6.0.x
env:
NUGET_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
nuget_auth_token: ${{ secrets.GITHUB_TOKEN }}

- name: Initialize CodeQL
uses: github/codeql-action/init@v1
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,11 @@ jobs:
- name: Check out repository
uses: actions/checkout@v3.0.0

# This action doesn't support comments in the global.json so for now we have to specify all sdk versions
- 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
dotnet-version: |
3.1.x
5.0.x
6.0.x
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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## Unreleased

- Switched from [actions/setup-dotnet](https://github.com/actions/setup-dotnet) to [xt0rted/setup-dotnet](https://github.com/xt0rted/setup-dotnet)

## [0.1.0](https://github.com/xt0rted/dotnet-run-script/releases/tag/v0.1.0) - 2022-03-26

- Run scripts with `dotnet r ...`
Expand Down