mirror of
https://github.com/engineer-man/piston.git
synced 2025-06-08 11:16:27 +02:00
ci(package): get all commits
This commit is contained in:
parent
b36cb64105
commit
ca3a4c3c0b
1 changed files with 3 additions and 1 deletions
4
.github/workflows/package-pr.yaml
vendored
4
.github/workflows/package-pr.yaml
vendored
|
@ -27,7 +27,9 @@ jobs:
|
||||||
|
|
||||||
- name: Build Packages
|
- name: Build Packages
|
||||||
run: |
|
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
|
ls -la packages repo
|
||||||
|
|
||||||
- name: Upload package as artifact
|
- name: Upload package as artifact
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue