File tree 1 file changed +2
-2
lines changed
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
@@ -165,7 +165,7 @@ jobs:
165
165
env :
166
166
GH_TOKEN : ${{ github.token }}
167
167
run : |
168
- gh api "/repos/${{ github.repository }}/actions/artifacts?name=build-artifact " | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
168
+ gh api "/repos/${{ github.repository }}/actions/artifacts" | jq ".artifacts[] | select(.name | startswith(\"build-artifact\")) | .id" > artifact-id-list.txt
169
169
while read id
170
170
do
171
171
echo -n "Deleting artifact ID $id ... "
You can’t perform that action at this time.
0 commit comments