-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0fd06e0
commit 288e413
Showing
2 changed files
with
33 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Generate App Icons | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Generate icons | ||
run: | | ||
mkdir -p tmp.iconset | ||
sips -z 16 16 pic.png --out tmp.iconset/icon_16x16.png | ||
sips -z 32 32 pic.png --out tmp.iconset/[email protected] | ||
sips -z 32 32 pic.png --out tmp.iconset/icon_32x32.png | ||
sips -z 64 64 pic.png --out tmp.iconset/[email protected] | ||
sips -z 128 128 pic.png --out tmp.iconset/icon_128x128.png | ||
sips -z 256 256 pic.png --out tmp.iconset/[email protected] | ||
sips -z 256 256 pic.png --out tmp.iconset/icon_256x256.png | ||
sips -z 512 512 pic.png --out tmp.iconset/[email protected] | ||
sips -z 512 512 pic.png --out tmp.iconset/icon_512x512.png | ||
sips -z 1024 1024 pic.png --out tmp.iconset/[email protected] | ||
iconutil -c icns tmp.iconset -o logo.icns | ||
- name: Upload logo.icns | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: logo.icns | ||
path: logo.icns |
File renamed without changes