This commit is contained in:
yisier
2026-08-25 15:29:12 +08:00
parent 585e10559e
commit 243ff1c692
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -40,7 +40,7 @@ jobs:
./build.assets.sh
- name: Upload
uses: softprops/action-gh-release@v2
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
with:
files: |
freebsd_386_client.tar.gz
@@ -95,7 +95,7 @@ jobs:
ls -la android_client.apk
- name: Upload
uses: softprops/action-gh-release@v2
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
with:
files: |
android_client.apk
@@ -205,7 +205,7 @@ jobs:
path: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
- name: Upload Windows release asset
uses: softprops/action-gh-release@v2
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
with:
files: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
tag_name: ${{ github.ref_name }}
@@ -275,7 +275,7 @@ jobs:
path: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
- name: Upload macOS release asset
uses: softprops/action-gh-release@v2
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
with:
files: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
tag_name: ${{ github.ref_name }}
@@ -336,7 +336,7 @@ jobs:
path: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
- name: Upload Linux release asset
uses: softprops/action-gh-release@v2
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
if: github.ref_type == 'tag' || github.event_name == 'workflow_dispatch'
with:
files: ${{ env.GUI_DIR }}/bin/${{ env.APP_NAME }}-${{ matrix.os_name }}-${{ matrix.arch }}.zip
tag_name: ${{ github.ref_name }}
+1 -1
View File
@@ -1,6 +1,6 @@
# NPS
![Version](https://img.shields.io/badge/version-v0.26.37-blue)
![Version](https://img.shields.io/badge/version-v0.26.38-blue)
![License](https://img.shields.io/badge/license-GPL--3.0-green)
![Go](https://img.shields.io/badge/Go-%3E%3D1.22-00ADD8?logo=go)