From 6f3dfeda70c3f385c58bcc27e5059dc8efad56f9 Mon Sep 17 00:00:00 2001 From: rvazarkar Date: Tue, 26 Sep 2023 13:45:32 -0400 Subject: [PATCH] chore: output nupkgs to a directoy to allow sleet to consume them --- .github/workflows/publish.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f413190d..83e54269 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -40,7 +40,9 @@ jobs: path: docfx/coverage/report/ - name: Pack - run: dotnet pack --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o . + run: | + mkdir pkgs + dotnet pack --no-restore -c Release -p:PackageVersion=${{ steps.version.outputs.result }} -o ./pkgs # - name: Prep Packages # run: dotnet nuget add source --username ${{ github.actor }} --password ${{ secrets.GITHUB_TOKEN }} --store-password-in-clear-text --name github "https://nuget.pkg.github.com/BloodHoundAD/index.json" @@ -57,7 +59,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_KEY }} run: | dotnet tool install -g sleet - sleet push *.nupkg --skip-existing + sleet push ./pkgs --skip-existing ghpages: name: ghpages