mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 21:16:29 +02:00
prevent building empty package on pr
This commit is contained in:
parent
89a6f81123
commit
78d0ce156f
1 changed files with 1 additions and 1 deletions
2
.github/workflows/package-pr.yaml
vendored
2
.github/workflows/package-pr.yaml
vendored
|
@ -53,7 +53,7 @@ jobs:
|
|||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
PACKAGES=$(jq '.[]' -r ${HOME}/files.json | awk -F/ '{ print $2 "-" $3 }' | sort -u)
|
||||
PACKAGES=$(jq '.[]' -r ${HOME}/files.json | awk -F/ '$2 && $3{ print $2 "-" $3 }' | sort -u)
|
||||
echo "Packages: $PACKAGES"
|
||||
docker pull docker.pkg.github.com/engineer-man/piston/repo-builder:latest
|
||||
docker build -t repo-builder repo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue