Skip to content

Commit

Permalink
updated package.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
babaktaremi committed Jul 24, 2023
1 parent 6d9d1e6 commit 41e4a77
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 15 deletions.
22 changes: 8 additions & 14 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@ on:
jobs:

publish:

name: "Run the unit tests"
name: Publish to NuGet.org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: nuget/setup-nuget@v1
with:
nuget-version: '6.x'

- name: "run xUnit"
run: |
ls
dotnet test --logger "trx;LogFileName=test-results.trx" || true
run: dotnet test --logger "trx;LogFileName=test-results.trx" || true

- name: Test Report
uses: dorny/test-reporter@v1
Expand All @@ -27,15 +30,6 @@ jobs:
reporter: dotnet-trx
fail-on-error: true

name: Publish to NuGet.org
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: nuget/setup-nuget@v1
with:
nuget-version: '6.x'

- name: Create the package
run: nuget pack CleanArcTemplate.nuspec -NoDefaultExcludes

Expand Down
2 changes: 1 addition & 1 deletion CleanArcTemplate.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>

<id>Bobby.CleanArcTemplate</id>
<version>4.0.5</version>
<version>4.0.6</version>
<title>Clean Architecture Solution Template</title>
<authors>BabakTaremi</authors>
<description>Clean Architecture Solution Template for and .NET 7. With many features available out of the box</description>
Expand Down

0 comments on commit 41e4a77

Please sign in to comment.