From 75e12300e8235647487203cf3840f161130e0efb Mon Sep 17 00:00:00 2001 From: Michiel van Oudheusden Date: Sun, 29 Jan 2023 00:45:22 +0100 Subject: [PATCH] Versioning and permission for unit tests --- .github/workflows/cicd.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 0668b97d..06f22817 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -21,8 +21,6 @@ env: jobs: package: runs-on: ubuntu-latest - permissions: - checks: write name: Run tests and create NuGet package outputs: coverage-reports: ${{ steps.dotnet-test.outputs.coverage-reports }} @@ -137,7 +135,7 @@ jobs: arrTag=(${GITHUB_REF//\// }) VERSION="${arrTag[2]}" VERSION="${VERSION//v}" - dotnet pack -v normal -c Release --include-symbols --include-source -p:PackageVersion=$VERSION -p:Version=$VERSION -p:InformationalVersion=$VERSION -o ./nuget + dotnet pack -v normal -c Release --include-symbols --include-source -p:Version=$VERSION -o ./nuget - name: Push to GitHub Feed run: |