-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restoring github action for now.
- Loading branch information
Showing
2 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
uses: dotnet/[email protected] | ||
with: | ||
setAllVars: true | ||
- name: Setup .NET Core | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|
@@ -29,9 +29,10 @@ jobs: | |
run: dotnet build --configuration Release --no-restore -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true | ||
- name: Test | ||
run: dotnet test --configuration Release --no-build --verbosity normal -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true | ||
- name: Publish Package | ||
run: dotnet nuget push **/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://nuget.org --skip-duplicate | ||
- name: Tag Release | ||
run: git tag -a "v$env:GitBuildVersion" -m "Tag for NuGet Version $env:GitBuildVersion" | ||
- name: Push Tag | ||
run: git push origin "v$env:GitBuildVersion" | ||
- name: Publish | ||
uses: brandedoutcast/[email protected] | ||
with: | ||
PROJECT_FILE_PATH: HIDDevices/HIDDevices.csproj | ||
NUGET_KEY: ${{secrets.NUGET_API_KEY}} | ||
INCLUDE_SYMBOLS: true | ||
VERSION_STATIC: ${{env.NBGV_Version}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
uses: dotnet/[email protected] | ||
with: | ||
setAllVars: true | ||
- name: Setup .NET Core | ||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: '6.0.x' | ||
|