From 2791066c43d4df569558081ef0d337c939e76fec Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Fri, 1 Nov 2024 23:04:22 +0700 Subject: [PATCH] use new hosted nuget for pushing --- .github/workflows/build.yml | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b85bd61..27146b6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,18 +42,8 @@ jobs: - run: dotnet pack -c Release -o ./pub ${{ matrix.project }}/${{ matrix.project }}.csproj --no-restore -p:Version="${{ needs.compute-version.outputs.version }}" name: Pack Project - - name: Install Sleet - run: dotnet tool install -g sleet - - - name: Push Nuget Package - env: - SLEET_FEED_TYPE: s3 - SLEET_FEED_PATH: https://dl.zznty.ru/ - SLEET_FEED_BUCKETNAME: ${{ secrets.S3_BUCKET }} - SLEET_FEED_SERVICEURL: ${{ secrets.S3_ENDPOINT }} - SLEET_FEED_ACCESSKEYID: ${{ secrets.S3_KEY_ID }} - SLEET_FEED_SECRETACCESSKEY: ${{ secrets.S3_SECRET }} - run: ~/.dotnet/tools/sleet push ./pub + - name: Push Project + run: dotnet nuget push -s https://ng.zznty.ru/v3/index.json -k ${{ secrets.NUGET_API_KEY }} ./pub/${{ matrix.project }}.${{ needs.compute-version.outputs.version }}.nupkg build: name: Build Launcher