ci(package): use commit sha
This commit is contained in:
parent
ca3a4c3c0b
commit
14f582eb33
|
@ -27,7 +27,7 @@ jobs:
|
|||
|
||||
- name: Build Packages
|
||||
run: |
|
||||
SHALIST=$(curl "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/$(jq -r '.pull_request.number' $GITHUB_EVENT_PATH)"/commits | jq '.[].sha' -r)
|
||||
SHALIST=$(curl "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls/$(jq -r '.pull_request.number' $GITHUB_EVENT_PATH)"/commits | jq '.[].commit.tree.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
|
||||
|
|
Loading…
Reference in New Issue