ci(package): get list of packages from pr

This commit is contained in:
Thomas Hobson 2021-03-14 16:43:50 +13:00
parent 2c1ca22cdd
commit abec6cf244
No known key found for this signature in database
GPG Key ID: 9F1FD9D87950DB6F
1 changed files with 3 additions and 2 deletions

View File

@ -32,8 +32,9 @@ jobs:
- name: Build Packages - name: Build Packages
run: | run: |
cat ${HOME}/files.json PACKAGES=$(jq '.[]' -r ${HOME}/files.json | awk -F/ '{ print $2 "-" $3 }' | sort -u)
echo docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --no-server echo "Packages: $PACKAGES"
docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --no-server $PACKAGES
ls -la packages ls -la packages
- name: Upload package as artifact - name: Upload package as artifact