From 38bfa8673342312de3d2f108ad5da1f171d0ef38 Mon Sep 17 00:00:00 2001 From: DacongDA Date: Sat, 17 Feb 2024 15:04:07 +0800 Subject: [PATCH] feat: remove myget package manager (#341) --- .github/workflows/build.yml | 7 ------- .github/workflows/push.yml | 7 ------- .github/workflows/release.yml | 1 - 3 files changed, 15 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index dec148c..e3e0bd7 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: @@ -150,9 +149,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/push.yml b/.github/workflows/push.yml index a668def..477d323 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -14,7 +14,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 }} @@ -74,12 +73,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/index.json --name github.com --username casbin --password $env:GITHUB_TOKEN diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3b264d..378e583 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,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 }}