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