Skip to content

Commit

Permalink
remove setup dotnet
Browse files Browse the repository at this point in the history
  • Loading branch information
rexebin committed Feb 4, 2024
1 parent b459616 commit c688b67
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ jobs:
with:
fetch-depth: 0

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
DOTNET_VERSION: 6.x

- name: Create Nuget Package
run: |
dotnet publish --configuration Release
Expand All @@ -53,11 +48,6 @@ jobs:
runs-on: ubuntu-latest
needs: [ create_nuget ]
steps:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
DOTNET_VERSION: 6.x

- uses: actions/download-artifact@v4
with:
name: nuget
Expand All @@ -76,11 +66,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
DOTNET_VERSION: 6.x

- name: Run tests
run: dotnet test --configuration Release

Expand All @@ -95,11 +80,6 @@ jobs:
name: nuget
path: ${{ env.NuGetDirectory }}

- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
DOTNET_VERSION: 6.x

- name: Publish NuGet package
run: |
foreach($file in (Get-ChildItem "${{ env.NuGetDirectory }}" -Recurse -Include *.nupkg)) {
Expand Down

0 comments on commit c688b67

Please sign in to comment.