mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
ci(package): get list of packages from pr
This commit is contained in:
parent
2c1ca22cdd
commit
abec6cf244
1 changed files with 3 additions and 2 deletions
5
.github/workflows/package-pr.yaml
vendored
5
.github/workflows/package-pr.yaml
vendored
|
@ -32,8 +32,9 @@ jobs:
|
|||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
cat ${HOME}/files.json
|
||||
echo docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --no-server
|
||||
PACKAGES=$(jq '.[]' -r ${HOME}/files.json | awk -F/ '{ print $2 "-" $3 }' | sort -u)
|
||||
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
|
||||
|
||||
- name: Upload package as artifact
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue