From 685d28c736128fe1f68fd11edecf8ce352d96d2e Mon Sep 17 00:00:00 2001 From: "Mingor(100757)" Date: Tue, 27 Aug 2024 17:33:41 +0800 Subject: [PATCH] update actions yaml --- .gitea/workflows/nuget.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/nuget.yaml b/.gitea/workflows/nuget.yaml index 3cdda69..8fcb31c 100644 --- a/.gitea/workflows/nuget.yaml +++ b/.gitea/workflows/nuget.yaml @@ -12,7 +12,7 @@ jobs: - name: List files in the repos run: ls ${{ gitea.workspace }} && ls $GITEA_WORKSPACE - name: Setup .NET Core - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v1 with: dotnet-version: ${{ env.DOTNET_VERSION }} cache: true @@ -20,7 +20,7 @@ jobs: env: NUGET_AUTH_TOKEN: ${{secrets.NUGET_APIKEY}} - name: Install dependencies - run: dotnet restore + run: dotnet restore -s https://api.nuget.org/v3/index.json - name: Build run: dotnet build --configuration Release --no-restore - name: Test