From f092a906c2c5ed8a7faf61be156b03b8966c3c7d Mon Sep 17 00:00:00 2001 From: Yufei Huang Date: Sat, 13 Jan 2024 13:42:01 +0800 Subject: [PATCH] chore: revert prerelease to GH packages GH packages in dotnet org cannot be made visible to public due to org policy. --- .github/workflows/ci.yml | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fc793141e6e..1c53bde096e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -82,31 +82,6 @@ jobs: with: commit_message: 'test(snapshot): update snapshots ${{ github.sha }} for ${{ matrix.os }}' - publish-github-packages: - if: github.ref == 'refs/heads/main' - needs: [test, snapshot] - runs-on: ubuntu-latest - permissions: - packages: write - steps: - - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - id: version - uses: paulhatch/semantic-version@v5.3.0 - with: - version_format: ${major}.${minor}.${patch}-preview.${increment} - - - uses: ./.github/actions/build - - - name: dotnet pack - run: dotnet pack -c Release /p:Version=${{ steps.version.outputs.version }} -o drop/nuget - - - name: dotnet nuget push - run: | - dotnet nuget push drop/nuget/*.nupkg --api-key "${{ secrets.GITHUB_TOKEN }}" --skip-duplicate --source https://nuget.pkg.github.com/dotnet/index.json - publish-docs: if: github.ref == 'refs/heads/main' needs: [test, snapshot]