mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-06-06 21:24:10 +00:00
Merge pull request #6 from xAlokyx/copilot/fix-installation-issue-banel
fix: prevent 404 during install by publishing release only after all assets are uploaded
This commit is contained in:
commit
59782779fd
1 changed files with 14 additions and 0 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
|
@ -156,4 +156,18 @@ jobs:
|
|||
asset_name: x-ui-linux-${{ matrix.platform }}.tar.gz
|
||||
overwrite: true
|
||||
prerelease: false
|
||||
release_type: draft
|
||||
|
||||
publish:
|
||||
name: Publish release
|
||||
needs: build
|
||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
|
||||
permissions:
|
||||
contents: write
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Publish draft release
|
||||
env:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: gh release edit ${{ github.ref_name }} --draft=false --repo ${{ github.repository }}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue