Skip to content

Commit fda00d8

Browse files
committed
cleaned up build file
1 parent 7578c5c commit fda00d8

1 file changed

Lines changed: 3 additions & 17 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -45,31 +45,15 @@ jobs:
4545
- name: Build nuget package
4646
run: dotnet pack --no-build --configuration Release /p:Version=${{steps.version.outputs.version}}
4747

48-
49-
# https://timheuer.com/blog/use-nuget-with-github-actions-github-packages/
50-
# - name: Setup NuGet
51-
# uses: NuGet/setup-nuget@v1.0.2
52-
# with:
53-
# nuget-api-key: ${{ secrets.G3SDKNUGETAPIKEY }}
54-
# nuget-version: latest
55-
56-
- name: Get certificate
48+
- name: Extract certificate
5749
id: cert_file
5850
uses: timheuer/base64-to-file@master
5951
with:
6052
fileName: 'certfile.pfx'
6153
encodedString: ${{ secrets.TOBIICODESIGNCERTIFICATE_B64 }}
6254

63-
# Sign the package
64-
# - name: Setup nuget
65-
# uses: nuget/setup-nuget@v1
66-
# with:
67-
# nuget-api-key: ${{ secrets.G3SDKNUGETAPIKEY }}
68-
# nuget-version: '5.x'
69-
7055
- name: Sign NuGet Package
7156
run: dotnet nuget sign "source\bin\Release\Tobii.Glasses3.SDK.${{steps.version.outputs.version}}.nupkg" --certificate-path "${{steps.cert_file.outputs.filePath}}" --certificate-password "${{secrets.CODESIGNPASSWORD}}" --timestamper http://timestamp.digicert.com --verbosity detailed
72-
# run: tools\nuget.exe sign "source\bin\Release\Tobii.Glasses3.SDK.${{steps.version.outputs.version}}.nupkg" -Timestamper http://timestamp.digicert.com –NonInteractive -Verbosity detailed
7357

7458
- name: Upload nuget package
7559
uses: actions/upload-artifact@v2
@@ -82,11 +66,13 @@ jobs:
8266
with:
8367
name: Tobii.Glasses3.SDK.net4-binaries_${{steps.version.outputs.version}}
8468
path: source/bin/Release/net472/*.dll
69+
8570
- name: Upload signed SDK dlls .net5
8671
uses: actions/upload-artifact@v2
8772
with:
8873
name: Tobii.Glasses3.SDK.net5-binaries_${{steps.version.outputs.version}}
8974
path: source/bin/Release/net5.0/*.dll
75+
9076
- name: Upload LSLConnector
9177
uses: actions/upload-artifact@v2
9278
with:

0 commit comments

Comments
 (0)