diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 941d34f..c23139e 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: @@ -177,9 +176,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 3d7023b..e9af985 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 }} @@ -138,12 +137,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 diff --git a/README.md b/README.md index ccde012..c8d1388 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Casbin.AspNetCore is a [Casbin.NET](https://github.com/casbin/Casbin.NET) integr This project is on developing, You can install the build version to try it. ```csharp -dotnet add package Casbin.AspNetCore --version --source https://www.myget.org/F/casbin-net/api/v3/index.json +dotnet add package Casbin.AspNetCore --version ``` Or you create a `NuGet.config` file on you solution directory like this. @@ -21,7 +21,6 @@ Or you create a `NuGet.config` file on you solution directory like this. - ```