Skip to content

Commit

Permalink
chore: output nupkgs to a directoy to allow sleet to consume them
Browse files Browse the repository at this point in the history
  • Loading branch information
rvazarkar committed Sep 26, 2023
1 parent cfbf5ef commit 6f3dfed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down

0 comments on commit 6f3dfed

Please sign in to comment.