diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a4c901..4ecc25e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,7 +9,6 @@ env: RUN_NUMBER: ${{ GITHUB.RUN_NUMBER }} BUILD_RUN_NUMBER: build.${{ GITHUB.RUN_NUMBER }} GITHUB_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} - MYGET_API_TOKEN: ${{ SECRETS.MYGET_API_TOKEN }} COVERALLS_REPO_TOKEN: ${{ SECRETS.COVERALLS_REPO_TOKEN }} jobs: @@ -144,9 +143,3 @@ jobs: with: name: "drop-ci-build-packages" path: './packages' - - - name: Add myget nuget source - run: dotnet nuget add source https://www.myget.org/F/casbin-net/api/v2/package --name myget.org - - - name: Push develop packages to myget.org - run: dotnet nuget push .\packages\*.nupkg -s myget.org -k $env:MYGET_API_TOKEN --skip-duplicate diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f54ad5a..25fd786 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,6 @@ env: RUN_NUMBER: ${{ GITHUB.RUN_NUMBER }} BUILD_RUN_NUMBER: build.${{ GITHUB.RUN_NUMBER }} GITHUB_TOKEN: ${{ SECRETS.GITHUB_TOKEN }} - MYGET_API_TOKEN: ${{ SECRETS.MYGET_API_TOKEN }} NUGET_API_TOKEN: ${{ SECRETS.NUGET_API_KEY }} COVERALLS_REPO_TOKEN: ${{ SECRETS.COVERALLS_REPO_TOKEN }} @@ -140,12 +139,6 @@ jobs: name: "drop-ci-packages" path: './packages' - - name: Add myget nuget source - run: dotnet nuget add source https://www.myget.org/F/casbin-net/api/v2/package --name myget.org - - - name: Push packages to myget.org - run: dotnet nuget push .\packages\*.nupkg -s myget.org -k $env:MYGET_API_TOKEN --skip-duplicate - - name: Add github nuget source run: dotnet nuget add source https://nuget.pkg.github.com/casbin-net/index.json --name github.com --username casbin-net --password $env:GITHUB_TOKEN