mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Update release.yml
This commit is contained in:
parent
5bc278153b
commit
6ed870e7e8
1 changed files with 6 additions and 0 deletions
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -132,6 +132,12 @@ jobs:
|
|||
name: x-ui-linux-${{ matrix.platform }}
|
||||
path: ./x-ui-linux-${{ matrix.platform }}.tar.gz
|
||||
|
||||
- name: Delete existing asset (if exists)
|
||||
run: |
|
||||
gh release delete-asset ${{ github.ref }} x-ui-linux-${{ matrix.platform }}.tar.gz --yes || true
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Upload files to GH release
|
||||
uses: svenstaro/upload-release-action@v2
|
||||
with:
|
||||
|
|
Loading…
Reference in a new issue