From 7501220a9d9c35f1b9d973c805f696bf53f67492 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Fri, 16 Feb 2024 08:54:31 -0800 Subject: [PATCH 1/5] changed action to v4 --- src/templatepack.csproj | 2 +- src/templates/.github/workflows/ci_build.yaml | 2 +- src/templates/.template.config/dotnetcli.host.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templatepack.csproj b/src/templatepack.csproj index 0771e00..0c90ed2 100644 --- a/src/templatepack.csproj +++ b/src/templatepack.csproj @@ -16,7 +16,7 @@ true false content - 1.1.8 + 1.1.9 diff --git a/src/templates/.github/workflows/ci_build.yaml b/src/templates/.github/workflows/ci_build.yaml index a8c9254..c512205 100644 --- a/src/templates/.github/workflows/ci_build.yaml +++ b/src/templates/.github/workflows/ci_build.yaml @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v4 - name: Setup .NET SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: Workflow.SDKVersion diff --git a/src/templates/.template.config/dotnetcli.host.json b/src/templates/.template.config/dotnetcli.host.json index e01ed59..6f4a66e 100644 --- a/src/templates/.template.config/dotnetcli.host.json +++ b/src/templates/.template.config/dotnetcli.host.json @@ -10,7 +10,7 @@ } }, "usageExamples": [ - "--sdk-version 8.0.100", + "--sdk-version 8.0.201", "-sdk 8.0.x", "-sdk 8.0.x -n build" ] From f94b5202df5c0582f7511e1fabb9512c8cfbdc18 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Fri, 16 Feb 2024 08:55:41 -0800 Subject: [PATCH 2/5] Change workflow action versions [skip ci] --- .github/workflows/pack.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pack.yaml b/.github/workflows/pack.yaml index e2bde75..41a408c 100644 --- a/.github/workflows/pack.yaml +++ b/.github/workflows/pack.yaml @@ -34,12 +34,12 @@ jobs: TERM: xterm steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Setup .NET Core SDK - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 8.0.x - name: Pack working-directory: src From 5b7b023413bc8f0a592ac6613519e6e47a3caebd Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Fri, 16 Feb 2024 09:00:02 -0800 Subject: [PATCH 3/5] Fixing workflow [skip ci] --- .github/workflows/pack.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/pack.yaml b/.github/workflows/pack.yaml index 41a408c..4135c42 100644 --- a/.github/workflows/pack.yaml +++ b/.github/workflows/pack.yaml @@ -45,12 +45,6 @@ jobs: working-directory: src run: dotnet pack -o ${{ env.PACKAGE_PATH }} - - name: Setup NuGet - uses: NuGet/setup-nuget@v1.0.5 - with: - nuget-api-key: ${{ secrets.NUGET_KEY }} - nuget-version: latest - - name: Get certificate id: cert_file uses: timheuer/base64-to-file@v1 @@ -60,7 +54,7 @@ jobs: # Sign the package - name: Sign NuGet Package - run: nuget sign "**/*.nupkg" -CertificatePath ${{ steps.cert_file.outputs.filePath }} -CertificatePassword "${{ secrets.CERT_PWD }}" -Timestamper http://timestamp.digicert.com -NonInteractive + run: dotnet nuget sign "**/*.nupkg" --certificate-path ${{ steps.cert_file.outputs.filePath }} --certificate-password "${{ secrets.CERT_PWD }}" -timestamper http://timestamp.digicert.com -NonInteractive - name: Publish NuGet package run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json From aca7d7d372876b722652fc62ba07fefa9392a816 Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Fri, 16 Feb 2024 09:03:15 -0800 Subject: [PATCH 4/5] added readme --- src/templatepack.csproj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/templatepack.csproj b/src/templatepack.csproj index 0c90ed2..b1be96b 100644 --- a/src/templatepack.csproj +++ b/src/templatepack.csproj @@ -16,12 +16,14 @@ true false content - 1.1.9 + 1.1.10 + README.md + From 899e7c9796481ffd4e20f2d2132b533c399492de Mon Sep 17 00:00:00 2001 From: Tim Heuer Date: Fri, 16 Feb 2024 09:05:20 -0800 Subject: [PATCH 5/5] fix ci --- .github/workflows/pack.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pack.yaml b/.github/workflows/pack.yaml index 4135c42..2117a8b 100644 --- a/.github/workflows/pack.yaml +++ b/.github/workflows/pack.yaml @@ -54,7 +54,7 @@ jobs: # Sign the package - name: Sign NuGet Package - run: dotnet nuget sign "**/*.nupkg" --certificate-path ${{ steps.cert_file.outputs.filePath }} --certificate-password "${{ secrets.CERT_PWD }}" -timestamper http://timestamp.digicert.com -NonInteractive + run: dotnet nuget sign "**/*.nupkg" --certificate-path ${{ steps.cert_file.outputs.filePath }} --certificate-password "${{ secrets.CERT_PWD }}" --timestamper http://timestamp.digicert.com - name: Publish NuGet package run: dotnet nuget push "**/*.nupkg" -k ${{ secrets.NUGET_KEY }} -s https://api.nuget.org/v3/index.json