Skip to content

Commit 5f3b2d8

Browse files
committed
fix: update build.yml
1 parent d93fa26 commit 5f3b2d8

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,14 @@ jobs:
191191
retention-days: 1
192192
draft-release:
193193
runs-on: ubuntu-22.04
194-
# if: github.event_name != 'pull_request'
195194
needs: build
196195
steps:
197196
- name: Download artifacts
198197
uses: actions/download-artifact@v4
199-
with:
200-
path: clang-tools-artifacts
201-
merge-multiple: true
202-
- name: list files
203-
run: ls -laR clang-tools-artifacts
204-
- name: Delete all files over 2G # see issue 40
205-
run: find clang-tools-artifacts -type f -size +2G -exec rm -v {} \;
198+
- name: List files
199+
run: ls -laR .
200+
- name: Workaround - delete all files over 2G, above github release file upload limit
201+
run: find . -type f -size +2G -exec rm -v {} \;
206202
- name: Draft release
207203
env:
208204
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -211,4 +207,4 @@ jobs:
211207
repo_token: ${{ secrets.GITHUB_TOKEN }}
212208
draft: true
213209
file_glob: true
214-
file: clang-*/**/*
210+
file: clang-*/**/*

0 commit comments

Comments
 (0)