ci(package): get all commits
This commit is contained in:
parent
b36cb64105
commit
ca3a4c3c0b
|
@ -27,7 +27,9 @@ jobs:
|
|||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --ci ${{ github.sha }}
|
||||
SHALIST=$(curl "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/$(jq -r '.pull_request.number' $GITHUB_EVENT_PATH)"/commits | jq '.[].sha' -r)
|
||||
echo "Commits: $SHALIST"
|
||||
docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --ci $SHALIST
|
||||
ls -la packages repo
|
||||
|
||||
- name: Upload package as artifact
|
||||
|
|
Loading…
Reference in New Issue