-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Requires macOS 10.13 or later
- Loading branch information
Showing
75 changed files
with
1,602 additions
and
1,587 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,48 @@ | ||
name: Diana | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
APP_NAME: HostsX | ||
SPARKLE_KEY: ${{ secrets.SPARKLE_KEY }} | ||
BODY_PATH: BODY_PATH.md | ||
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }} | ||
|
||
jobs: | ||
|
||
Release: | ||
runs-on: macos-12 | ||
runs-on: macos-13 | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2.4.0 | ||
|
||
uses: actions/checkout@v4.1.1 | ||
- name: Setup | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- run: | | ||
echo "APP_VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV | ||
uses: actions/setup-node@v4.0.0 | ||
|
||
- name: Setup Xcode | ||
uses: maxim-lobanov/setup-xcode@v1.6.0 | ||
|
||
- name: Package | ||
- name: Create DMG | ||
run: | | ||
fastlane package | ||
- name: Create | ||
run: | | ||
sh scripts/create_dmg.sh | ||
fastlane create_dmg | ||
- name: Release | ||
uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
body_path: ${{ env.BODY_PATH }} | ||
files: ${{ env.APP_NAME }}.dmg | ||
body_path: ${{ env.LOG_PATH }} | ||
files: ${{ env.APP_PATH }} | ||
|
||
- name: Appcast | ||
uses: actions/github-script@v6 | ||
uses: actions/github-script@v7.0.1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
github-token: ${{ secrets.PERSONAL_TOKEN }} | ||
script: | | ||
github.rest.repos.requestPagesBuild({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
HostsX/Assets.xcassets/Color/background.colorset/Contents.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"colors" : [ | ||
{ | ||
"color" : { | ||
"color-space" : "display-p3", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0.969", | ||
"green" : "0.969", | ||
"red" : "0.969" | ||
} | ||
}, | ||
"idiom" : "mac" | ||
}, | ||
{ | ||
"appearances" : [ | ||
{ | ||
"appearance" : "luminosity", | ||
"value" : "dark" | ||
} | ||
], | ||
"color" : { | ||
"color-space" : "display-p3", | ||
"components" : { | ||
"alpha" : "1.000", | ||
"blue" : "0.180", | ||
"green" : "0.176", | ||
"red" : "0.169" | ||
} | ||
}, | ||
"idiom" : "mac" | ||
} | ||
], | ||
"info" : { | ||
"author" : "xcode", | ||
"version" : 1 | ||
} | ||
} |
Oops, something went wrong.