diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-08 02:06:03 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-08 02:12:27 +0300 |
| commit | 9fcd0387ca7bffe023274a39293d562d4dc2c84b (patch) | |
| tree | ab8f04d4041346c50aac4f1d58c9eb4389c5bb3e /.github | |
| parent | 7b039d219efb0b49432f986330b8ae5cd4602e7c (diff) | |
Update release.yml
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/release.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 84198bbc..53e13c0b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,6 @@ on: tags: - "v*.*.*" paths: - - '.github/workflows/release.yml' - '**.js' - '**.css' - '**.html' @@ -137,10 +136,13 @@ jobs: - name: Upload files to GH release uses: svenstaro/upload-release-action@v2 - if: github.event_name == 'release' && github.event.action == 'published' + if: | + (github.event_name == 'release' && github.event.action == 'published') || + (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) with: repo_token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ github.ref }} file: x-ui-linux-${{ matrix.platform }}.tar.gz asset_name: x-ui-linux-${{ matrix.platform }}.tar.gz + overwrite: true prerelease: true |
