Skip to content

Commit 4bfc739

Browse files
committed
add easy ci
1 parent 31d7b8c commit 4bfc739

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

.github/workflows/ci.yml

+7-16
Original file line numberDiff line numberDiff line change
@@ -51,27 +51,18 @@ jobs:
5151
- name: Test with dotnet
5252
run: dotnet test
5353
--no-build --configuration ${{ env.BuildConfig }}
54-
--logger "trx;LogFileName=test-results.trx" --results-directory ./artifacts/testResults
54+
--logger "trx;LogFileName=test-results.trx" --results-directory ./artifacts/test-results
5555
continue-on-error: true
5656

57-
# - name: Test Report
58-
# uses: dorny/test-reporter@v1
59-
# if: always()
60-
# with:
61-
# name: DotNET Tests
62-
# path: "./artifacts/testResults/test-results.trx"
63-
# reporter: dotnet-trx
64-
# fail-on-error: true
65-
6657
- name: Pack NuGet
6758
run: dotnet pack
6859
--configuration ${{ env.BuildConfig }}
60+
--output ./artifacts/nuget
6961
/p:ContinuousIntegrationBuild=true
7062
/p:Version=${{ steps.nbgv.outputs.NuGetPackageVersion }}
7163

72-
- name: Push to NuGet
73-
run: dotnet nuget push **/*.nupkg
74-
--api-key ${{ secrets.NUGET_DEPLOY_KEY }}
75-
--source https://api.nuget.org/v3/index.json
76-
--no-symbols
77-
--skip-duplicate
64+
- name: Upload Artifacts
65+
uses: actions/upload-artifact@v4
66+
with:
67+
name: artifacts
68+
path: ./artifacts/**/*

0 commit comments

Comments
 (0)