parent
db72c76c5e
commit
f8b37a51aa
@ -10,7 +10,7 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
Build-Chocolatey-Packages:
|
Build-Chocolatey-Packages:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: chocolatey/choco
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
@ -19,12 +19,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
for package in */
|
for package in */
|
||||||
do
|
do
|
||||||
echo "Packing $package"
|
(
|
||||||
echo "$PWD/$package"
|
cd "$package"
|
||||||
ls "$PWD/$package"
|
echo "Packing $package"
|
||||||
docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco pwd
|
choco pack
|
||||||
docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco ls
|
choco push --source "${{ env.NUGET_URL }}" --key "${{ secrets.GITHUB_TOKEN }}"
|
||||||
docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco choco pack
|
)
|
||||||
docker run --rm --volume="$PWD/$package:/build" --workdir=/build chocolatey/choco choco push \
|
|
||||||
--source "${{ env.NUGET_URL }}" --key "${{ secrets.GITHUB_TOKEN }}"
|
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user