From 02a6c89fee4d10cb6a44ed89dd559032e2ba39d0 Mon Sep 17 00:00:00 2001 From: ninjanye Date: Fri, 5 Jul 2024 12:13:46 +0100 Subject: [PATCH] debug --- .github/workflows/main.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 401e143..9b11445 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -30,36 +30,28 @@ jobs: - name: Test run: dotnet test --verbosity minimal - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: build-output - path: . - deploy: needs: [build-and-test] runs-on: ubuntu-latest + defaults: + run: + working-directory: NinjaNye.SearchExtensions steps: + - uses: actions/checkout@v4 + - name: Setup .NET uses: actions/setup-dotnet@v4 with: dotnet-version: '8.x' - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: build-output - - name: Log run: ls -al . - name: Pack - run: dotnet pack NinjaNye.SearchExtensions.csproj -c Release --no-build --output nuget-packages - working-directory: NinjaNye.SearchExtensions + run: dotnet pack NinjaNye.SearchExtensions.csproj -c Release --output nuget-packages - name: Log run: ls -al ./nuget-packages - working-directory: NinjaNye.SearchExtensions # - name: Push to NuGet # run: dotnet nuget push ./nuget-packages/*.nupkg --source https://api.nuget.org/v3/index.json --api-key ${{secrets.NUGET_API_KEY}} --skip-duplicate