Test
Some checks failed
Build-Chocolatey-Packages

This commit is contained in:
Adam Goldsmith 2023-03-25 16:40:21 -04:00
parent 7a260f2314
commit 1c6fb7bac1

View File

@ -2,6 +2,7 @@ on:
push:
branches:
- main
- test
env:
NUGET_URL: https://git.claremontmakerspace.org/api/packages/${{ github.repository_owner }}/nuget/index.json
@ -19,6 +20,7 @@ jobs:
for package in */
do
echo "Packing $package"
docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco ls
docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco choco pack
docker run --rm -v "$PWD/$package:/build" -w /build chocolatey/choco choco push \
--source "${{ env.NUGET_URL }}" --key "${{ secrets.GITHUB_TOKEN }}"