Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,19 @@ jobs:
- name: create zip
run: ditto -c -k --sequesterRsrc --keepParent archive/ClashX.xcarchive/Products/Applications/ClashX\ Meta.app "ClashX Meta.zip"

- name: create dmg
run: |
npm install --global create-dmg
create-dmg --overwrite --no-version-in-filename --no-code-sign --dmg-title "ClashX Meta" "archive/ClashX.xcarchive/Products/Applications/ClashX Meta.app" .

- name: upload Artifact
uses: actions/upload-artifact@v4
if: "!startsWith(github.ref, 'refs/tags/')"
with:
name: "ClashX Meta.zip"
path: "*.zip"
name: "ClashX Meta"
path: |
*.zip
*.dmg

- name: load sparkle-repo
uses: actions/checkout@v4
Expand Down Expand Up @@ -113,4 +119,5 @@ jobs:
generate_release_notes: true
files: |
ClashX Meta.zip
ClashX Meta.dmg