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 26
26
php_version : ${{ matrix.php }}
27
27
28
28
- name : Archive build
29
- run : mkdir /tmp/github-actions/ && tar -cvf /tmp/github-actions/build.tar ./
29
+ run : mkdir /tmp/github-actions/ && tar --exclude=".git" - cvf /tmp/github-actions/build.tar ./
30
30
31
31
- name : Upload build archive for test runners
32
32
uses : actions/upload-artifact@v3
@@ -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 == \"build-artifact\") | .id" > artifact-id-list.txt
170
+ gh api "/repos/${{ github.repository }}/actions/artifacts" | jq ".artifacts[] | select(.name == \"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