diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 6e85424..50fba13 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -53,8 +53,6 @@ jobs: dotnet-version: 6.0.x - name: Restore dependencies run: dotnet restore - - name: Set MINVERBUILDMETADATA - run: echo MINVERBUILDMETADATA=$(git rev-parse --short ${GITHUB_SHA}) >> $GITHUB_ENV - name: Build run: dotnet build -c ${{ matrix.config }} --no-restore - name: Test diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c0b9738..b344b39 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -5,7 +5,6 @@ on: tags: - '[0-9]+.[0-9]+.[0-9]+' - '[0-9]+.[0-9]+.[0-9]+-preview' - branches: [ main ] jobs: publish: @@ -30,7 +29,6 @@ jobs: dotnet nuget push $nupkg --api-key ${{ secrets.GHPACKAGES_PAT }} --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --skip-duplicate done - name: Publish Nuget Packages - if: startsWith(github.ref, 'refs/tags/') run: | for nupkg in $(find . -name *.nupkg) do