1- name : Build Mac Bundle
1+ name : " Build Mac Bundle"
22
33on :
44 workflow_dispatch : {}
@@ -14,18 +14,18 @@ jobs:
1414 WASM_BINDGEN_CLI_VERSION : " 0.2.100"
1515
1616 steps :
17- - name : Checkout
17+ - name : 📥 Clone repository
1818 uses : actions/checkout@v4
1919
20- - name : Setup Rust
20+ - name : 🦀 Install Rust
2121 uses : actions-rust-lang/setup-rust-toolchain@v1
2222 with :
2323 toolchain : stable
2424 override : true
2525 rustflags : " "
2626 target : wasm32-unknown-unknown
2727
28- - name : Cache Cargo
28+ - name : 💾 Set up Cargo cache
2929 uses : actions/cache@v4
3030 with :
3131 path : |
3434 target
3535 key : cargo-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}
3636
37- - name : Setup Node
37+ - name : 🟢 Install Node.js
3838 uses : actions/setup-node@v4
3939 with :
4040 node-version-file : .nvmrc
4343 package-lock.json
4444 frontend/package-lock.json
4545
46- - name : Install Native Dependencies
46+ - name : 🚧 Install native dependencies
4747 env :
4848 GITHUB_TOKEN : ${{ github.token }}
4949 BINSTALL_DISABLE_TELEMETRY : " true"
@@ -64,25 +64,26 @@ jobs:
6464 cargo binstall --no-confirm --force cargo-about
6565 cargo binstall --no-confirm --force "wasm-bindgen-cli@${WASM_BINDGEN_CLI_VERSION}"
6666
67- - name : Build Mac Bundle
67+ - name : 🏗 Build Mac bundle
6868 env :
6969 CARGO_TERM_COLOR : always
7070 run : cargo run build desktop
7171
72- - name : Stage Artifacts
72+ - name : 📁 Stage artifacts
7373 shell : bash
7474 run : |
7575 rm -rf target/artifacts
7676 mkdir -p target/artifacts
7777 cp -R target/release/Graphite.app target/artifacts/Graphite.app
7878
79- - name : Upload Mac Bundle
79+ - name : 📦 Upload Mac bundle
80+ if : github.ref != 'refs/heads/master'
8081 uses : actions/upload-artifact@v4
8182 with :
8283 name : graphite-mac-bundle
8384 path : target/artifacts
8485
85- - name : Sign and Notarize Mac Bundle Preparation
86+ - name : 🔏 Sign and notarize (preparation)
8687 if : github.ref == 'refs/heads/master'
8788 env :
8889 APPLE_CERT_BASE64 : ${{ secrets.APPLE_CERT_BASE64 }}
@@ -116,7 +117,7 @@ jobs:
116117 </plist>
117118 EOF
118119
119- - name : Sign and Notarize Mac Bundle
120+ - name : 🔏 Sign and notarize
120121 if : github.ref == 'refs/heads/master'
121122 env :
122123 APPLE_EMAIL : ${{ secrets.APPLE_EMAIL }}
@@ -149,7 +150,7 @@ jobs:
149150
150151 spctl -a -vv "$APP_PATH"
151152
152- - name : Upload Mac Bundle Signed
153+ - name : 📦 Upload signed Mac bundle
153154 if : github.ref == 'refs/heads/master'
154155 uses : actions/upload-artifact@v4
155156 with :
0 commit comments