Skip to content

Commit 88c221e

Browse files
authored
Merge branch 'development' into feat/v2ray
2 parents 4756b58 + 3c3e54f commit 88c221e

2 files changed

Lines changed: 21 additions & 33 deletions

File tree

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build
1+
name: Build and Release
22

33
on:
44
workflow_dispatch:
@@ -53,7 +53,7 @@ jobs:
5353
- uses: actions/upload-artifact@v4
5454
with:
5555
name: macos-app
56-
path: build/macos/Build/Products/Release
56+
path: build/macos/Build/Products/Release/VPN\ Client.app
5757
build-windows:
5858
name: Build Windows
5959
runs-on: windows-latest
@@ -86,3 +86,22 @@ jobs:
8686
with:
8787
name: linux-app
8888
path: build/linux/x64/release/bundle
89+
release:
90+
name: Create Release
91+
if: ${{ github.ref == 'refs/heads/main' && startsWith(github.ref, 'refs/tags/v') }}
92+
needs: [build-android, build-ios, build-macos, build-windows, build-linux]
93+
runs-on: ubuntu-latest
94+
steps:
95+
- uses: actions/download-artifact@v4
96+
with:
97+
path: artifacts
98+
- uses: softprops/action-gh-release@v2
99+
with:
100+
files: |
101+
artifacts/android-apk/app-release.apk
102+
artifacts/ios-app/Runner.app
103+
artifacts/macos-app/VPNclient.app
104+
artifacts/windows-app/VPNclient.exe
105+
artifacts/linux-app/bundle/
106+
env:
107+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)