Skip to content

Commit e268c5c

Browse files
committed
test: update draft release from build.yml
1 parent 32fc54b commit e268c5c

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -202,18 +202,10 @@ jobs:
202202
run: ls -laR .
203203
- name: Delete all files over 2G # see issue 40
204204
run: find . -type f -size +2G -exec rm -v {} \;
205-
- name: Checkout code
206-
uses: actions/checkout@v4
207-
- name: Get short SHA
208-
id: sha
209-
run: echo "short_sha=${GITHUB_SHA:0:8}" >> $GITHUB_OUTPUT
210-
- name: Draft release
211-
uses: svenstaro/upload-release-action@v2
205+
- name: draft release
206+
uses: xresloader/[email protected]
207+
env:
208+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
212209
with:
213-
release_name: "master-${{ steps.sha.outputs.short_sha }}"
214-
tag: "master-${{ steps.sha.outputs.short_sha }}"
215-
repo_token: ${{ secrets.GITHUB_TOKEN }}
210+
file: "clang-*"
216211
draft: true
217-
overwrite: true
218-
file_glob: true
219-
file: clang-*/**/*

0 commit comments

Comments
 (0)