From 3615f220acf091e9a7ecca3cb6552ac9d0c933e2 Mon Sep 17 00:00:00 2001 From: Dustin Horne <33458686+parentelement@users.noreply.github.com> Date: Wed, 4 Mar 2026 18:54:12 -0600 Subject: [PATCH] build directory update --- .github/workflows/BuildAndPublish.yml | 8 +++++--- .gitignore | 3 ++- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/BuildAndPublish.yml b/.github/workflows/BuildAndPublish.yml index 25fb495..9430618 100644 --- a/.github/workflows/BuildAndPublish.yml +++ b/.github/workflows/BuildAndPublish.yml @@ -19,7 +19,7 @@ jobs: dotnet-version: 10.0.x - name: release build run: | - dotnet build -c Release + dotnet build -c Release -o artifacts - name: NuGet login (OIDC → temp API key) uses: NuGet/login@v1 id: login @@ -29,8 +29,10 @@ jobs: - name: push to NuGet # Only push to NuGet if we're building a tag (optional) if: startsWith(github.ref, 'refs/tags/') - shell: bash + shell: pwsh run: | + Get-ChildItem artifacts -Filter *.nupkg | ForEach-Object { dotnet nuget push $_.FullName ` --api-key "${{ steps.login.outputs.NUGET_API_KEY }}" ` - --source https://api.nuget.org/v3/index.json \ No newline at end of file + --source https://api.nuget.org/v3/index.json + } \ No newline at end of file diff --git a/.gitignore b/.gitignore index 22b8bdf..1500e04 100644 --- a/.gitignore +++ b/.gitignore @@ -10,4 +10,5 @@ build *.userprefs *.bin .idea -packages \ No newline at end of file +packages +artifacts/