Skip to content

Commit 06f192c

Browse files
author
Greg Bowler
committed
Apply changes on ci-2025-sec
1 parent b1da5f2 commit 06f192c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
php_extensions: pcntl
2626

2727
- name: Archive build
28-
run: mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
28+
run: mkdir /tmp/github-actions/ && tar --exclude=".git" -cvf /tmp/github-actions/build.tar ./
2929

3030
- name: Upload build archive for test runners
3131
uses: actions/upload-artifact@v4
@@ -168,7 +168,7 @@ jobs:
168168
env:
169169
GH_TOKEN: ${{ github.token }}
170170
run: |
171-
gh api "/repos/${{ github.repository }}/actions/artifacts?name=build-artifact" | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
171+
gh api "/repos/${{ github.repository }}/actions/artifacts" | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
172172
while read id
173173
do
174174
echo -n "Deleting artifact ID $id ... "

0 commit comments

Comments
 (0)