Skip to content

Commit

Permalink
Modify the build macos script
Browse files Browse the repository at this point in the history
  • Loading branch information
2dust committed Dec 25, 2024
1 parent 199d87b commit 7375e1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build-osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@ jobs:
- name: Build
run: |
cd v2rayN
chmod 755 build-osx.sh
./build-osx.sh
OutputPath='./bin/v2rayN'
OutputPath64="${OutputPath}/osx-x64"
OutputPathArm64="${OutputPath}/osx-arm64"
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-x64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPath64
dotnet publish ./v2rayN.Desktop/v2rayN.Desktop.csproj -c Release -r osx-arm64 --self-contained true -p:PublishReadyToRun=false -p:PublishSingleFile=true -o $OutputPathArm64
- name: Upload build artifacts
uses: actions/upload-artifact@v4
with:
name: v2rayN-osx
path: |
./v2rayN/v2rayN-osx.zip
./v2rayN/bin/v2rayN
18 changes: 0 additions & 18 deletions v2rayN/build-osx.sh

This file was deleted.

0 comments on commit 7375e1a

Please sign in to comment.