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