mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-07 18:56:26 +02:00
ci(package): use head commit
This commit is contained in:
parent
d10496cc78
commit
4626176222
1 changed files with 1 additions and 1 deletions
2
.github/workflows/package-pr.yaml
vendored
2
.github/workflows/package-pr.yaml
vendored
|
@ -27,7 +27,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
run: |
|
run: |
|
||||||
SHALIST=$(curl "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/$(jq -r '.pull_request.number' $GITHUB_EVENT_PATH)"/commits | jq '.[].commit.tree.sha' -r)
|
SHALIST=$(git rev-parse HEAD)
|
||||||
echo "Commits: $SHALIST"
|
echo "Commits: $SHALIST"
|
||||||
git log
|
git log
|
||||||
docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --ci $SHALIST
|
docker run -v "${{ github.workspace }}:/piston" docker.pkg.github.com/engineer-man/piston/repo-builder:latest --ci $SHALIST
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue