File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
php_version : ${{ matrix.php }}
25
25
26
26
- name : Archive build
27
- run : mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
27
+ run : mkdir /tmp/github-actions/ && tar --exclude=".git" - cvf /tmp/github-actions/build.tar ./
28
28
29
29
- name : Upload build archive for test runners
30
30
uses : actions/upload-artifact@v4
@@ -167,7 +167,7 @@ jobs:
167
167
env :
168
168
GH_TOKEN : ${{ github.token }}
169
169
run : |
170
- gh api "/repos/${{ github.repository }}/actions/artifacts?name=build-artifact " | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
170
+ gh api "/repos/${{ github.repository }}/actions/artifacts" | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
171
171
while read id
172
172
do
173
173
echo -n "Deleting artifact ID $id ... "
You can’t perform that action at this time.
0 commit comments