Skip to content

Commit

Permalink
chore: revert prerelease to GH packages
Browse files Browse the repository at this point in the history
GH packages in dotnet org cannot be made visible to public due to org policy.
  • Loading branch information
yufeih committed Jan 13, 2024
1 parent 1d31fce commit f092a90
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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]
Expand Down

0 comments on commit f092a90

Please sign in to comment.