From ea41671956ad0979997c4aa31e6ce6cbc41942bc Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Thu, 25 Apr 2024 14:57:17 +0000 Subject: [PATCH 1/3] fix project path --- .github/workflows/publish_package.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index acdcd51..16d1f31 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -6,7 +6,7 @@ on: workflow_dispatch: # Erlaubt manuelles Auslösen des Workflows über die GitHub-Oberfläche env: - CSPROJ_FILE: Templates/Templates.csproj + CSPROJ_FILE: Templates.csproj DOTNET_VERSION: '8.0.x' jobs: @@ -51,7 +51,7 @@ jobs: run: dotnet build ${{ env.CSPROJ_FILE }} --no-restore --configuration Release - name: Pack - run: | + run: | echo "Using version ${{ needs.get_release.outputs.release_version }} from setup job." dotnet pack ${{ env.CSPROJ_FILE }} --no-build --configuration Release \ -p:PackageVersion=${{ needs.get_release.outputs.release_version }} \ @@ -59,7 +59,7 @@ jobs: -p:PackageProjectUrl="https://github.com/${{ github.repository }}" \ -p:RepositoryUrl="https://github.com/${{ github.repository }}.git" \ -p:RepositoryType="git" \ - -o nupkg + -o nupkg shell: bash - name: List output files From c118063e9bc1973b26fd9fe79aced9594e367df7 Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Thu, 25 Apr 2024 14:57:27 +0000 Subject: [PATCH 2/3] renamed to draft_release --- .github/workflows/{dotnet.yml => draft_release.yml} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename .github/workflows/{dotnet.yml => draft_release.yml} (95%) diff --git a/.github/workflows/dotnet.yml b/.github/workflows/draft_release.yml similarity index 95% rename from .github/workflows/dotnet.yml rename to .github/workflows/draft_release.yml index 2ec2c57..c543540 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/draft_release.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-latest env: - CSPROJ_FILE: Templates/Templates.csproj + CSPROJ_FILE: Templates.csproj DOTNET_VERSION: '8.0.x' steps: From c72d433d02f07aa1e154dbd58d3e7287bd5a0223 Mon Sep 17 00:00:00 2001 From: Patrick Kurmann Date: Thu, 25 Apr 2024 14:57:44 +0000 Subject: [PATCH 3/3] document non existing symbol --- .github/workflows/publish_package.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_package.yml b/.github/workflows/publish_package.yml index 16d1f31..3064b97 100644 --- a/.github/workflows/publish_package.yml +++ b/.github/workflows/publish_package.yml @@ -49,7 +49,9 @@ jobs: - name: Build run: dotnet build ${{ env.CSPROJ_FILE }} --no-restore --configuration Release - + + # Packen des Projekts in ein NuGet-Paket + # Hinweis: Kein Symbolpaket da es sich um ein Template-Projekt handelt. - name: Pack run: | echo "Using version ${{ needs.get_release.outputs.release_version }} from setup job."