From f8ebcf7141c1926cc49d0a8f288da92db5f0d4a8 Mon Sep 17 00:00:00 2001 From: Dima yawaflua <93622229+yawaflua@users.noreply.github.com> Date: Mon, 11 Dec 2023 00:23:08 +0300 Subject: [PATCH] Update nuget.yml --- .github/workflows/nuget.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/nuget.yml b/.github/workflows/nuget.yml index c1a76ac..9ed62dc 100644 --- a/.github/workflows/nuget.yml +++ b/.github/workflows/nuget.yml @@ -13,17 +13,12 @@ jobs: uses: actions/setup-dotnet@v1 with: dotnet-version: '8.x.x' - - name: Install dependencies - run: dotnet restore - - name: Build - run: dotnet build --configuration Release --no-restore - name: Set output id: vars run: echo "tag=${GITHUB_REF#refs/*/}" >> $GITHUB_OUTPUT - name: Publish to NuGet uses: brandedoutcast/publish-nuget@v2 with: - PROJECT_FILE_PATH: ${{ github.workspace }}SPWorldsWrapper/SPWorldsWrapper.csproj - VERSION_REGEX: ${{ steps.vars.outputs.tags }} + PROJECT_FILE_PATH: SPWorldsWrapper/SPWorldsWrapper.csproj TAG_FORMAT: '*' NUGET_KEY: ${{secrets.NUGET_API_KEY}}