Skip to content

Commit

Permalink
Update macos.yml. [skip CI]
Browse files Browse the repository at this point in the history
  • Loading branch information
pigpigyyy authored Dec 26, 2023
1 parent f4d76a6 commit 0488316
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
if: "!startsWith(github.ref, 'refs/tags/')"
run: |
Tools/tolua++/build.sh
xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO -project Project/macOS/Dorothy.xcodeproj -target Dorothy
xcodebuild ARCHS=x86_64 ONLY_ACTIVE_ARCH=NO -project Project/macOS/Dora.xcodeproj -target Dora
- name: Pack
if: startsWith(github.ref, 'refs/tags/')
run: |
Expand All @@ -30,15 +30,15 @@ jobs:
cd Tools/dora-dora && yarn && yarn build && cd ../.. && mv Tools/dora-dora/build Assets/www
cd $GITHUB_WORKSPACE
Tools/tolua++/build.sh
xcodebuild archive -project Project/macOS/Dorothy.xcodeproj -scheme Dorothy -configuration release -archivePath dorothy.xcarchive
cd dorothy.xcarchive/Products/Applications
zip -vr Dorothy.zip Dorothy.app
mv Dorothy.zip $GITHUB_WORKSPACE/dorothy-ssr-${{ github.ref_name }}-macos-universal.zip
xcodebuild archive -project Project/macOS/Dora.xcodeproj -scheme Dora -configuration release -archivePath dora.xcarchive
cd dora.xcarchive/Products/Applications
zip -vr Dora.zip Dora.app
mv Dorothy.zip $GITHUB_WORKSPACE/dora-ssr-${{ github.ref_name }}-macos-universal.zip
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
dorothy-ssr-${{ github.ref_name }}-macos-universal.zip
dora-ssr-${{ github.ref_name }}-macos-universal.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0488316

Please sign in to comment.