Skip to content

Commit ae1cc81

Browse files
committed
feat: Publish
Restoring github action for now.
1 parent f1d20a8 commit ae1cc81

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.github/workflows/publish.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: dotnet/[email protected]
1919
with:
2020
setAllVars: true
21-
- name: Setup .NET Core
21+
- name: Setup .NET
2222
uses: actions/setup-dotnet@v1
2323
with:
2424
dotnet-version: '6.0.x'
@@ -29,9 +29,10 @@ jobs:
2929
run: dotnet build --configuration Release --no-restore -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
3030
- name: Test
3131
run: dotnet test --configuration Release --no-build --verbosity normal -p:ContinuousIntegrationBuild=true -p:DeterministicSourcePaths=true
32-
- name: Publish Package
33-
run: dotnet nuget push **/bin/Release/*.nupkg -k ${{secrets.NUGET_API_KEY}} -s https://nuget.org --skip-duplicate
34-
- name: Tag Release
35-
run: git tag -a "v$env:GitBuildVersion" -m "Tag for NuGet Version $env:GitBuildVersion"
36-
- name: Push Tag
37-
run: git push origin "v$env:GitBuildVersion"
32+
- name: Publish
33+
uses: brandedoutcast/[email protected]
34+
with:
35+
PROJECT_FILE_PATH: HIDDevices/HIDDevices.csproj
36+
NUGET_KEY: ${{secrets.NUGET_API_KEY}}
37+
INCLUDE_SYMBOLS: true
38+
VERSION_STATIC: ${{env.NBGV_Version}}

.github/workflows/validatepullrequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: dotnet/[email protected]
1919
with:
2020
setAllVars: true
21-
- name: Setup .NET Core
21+
- name: Setup .NET
2222
uses: actions/setup-dotnet@v1
2323
with:
2424
dotnet-version: '6.0.x'

0 commit comments

Comments
 (0)