Update release.yml

This commit is contained in:
civisrom 2025-02-04 22:41:30 +03:00 committed by GitHub
parent 5bc278153b
commit 6ed870e7e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -132,6 +132,12 @@ jobs:
name: x-ui-linux-${{ matrix.platform }} name: x-ui-linux-${{ matrix.platform }}
path: ./x-ui-linux-${{ matrix.platform }}.tar.gz 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 - name: Upload files to GH release
uses: svenstaro/upload-release-action@v2 uses: svenstaro/upload-release-action@v2
with: with: