-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update action order to fix macOS build
- Loading branch information
Showing
1 changed file
with
13 additions
and
13 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 |
---|---|---|
|
@@ -14,43 +14,43 @@ jobs: | |
environment: | ||
name: prod | ||
steps: | ||
- name: Set up code | ||
- name: ⬇️ Set up code | ||
uses: actions/checkout@v4 | ||
with: | ||
show-progress: false | ||
|
||
- name: Set up Node.js | ||
- name: ⎔ Set up Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
cache: npm | ||
|
||
- name: Bump version | ||
- name: 🐍 Set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
|
||
- name: 👊 Bump version | ||
id: bump-version | ||
run: | | ||
TAG=$(gh release view --json tagName --jq ".tagName") | ||
npm version $TAG --no-git-tag-version | ||
- name: Set up signing certificates | ||
- name: 🧑🎓 Set up signing certificates | ||
uses: apple-actions/import-codesign-certs@v2 | ||
with: | ||
p12-file-base64: ${{ secrets.APPLE_CERTIFICATE }} | ||
p12-password: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: 🐍 Set up python | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: 3.12 | ||
|
||
- name: 💻 Set up app DMG | ||
run: | | ||
python3 -m pip install setuptools | ||
npm install -g [email protected] | ||
- name: Build, Package, & Release | ||
- name: 📥 Install dependencies | ||
run: npm ci | ||
|
||
- name: 🚀 Build, Package, & Release | ||
run: npm run publish | ||
env: | ||
APPLE_IDENTITY: ${{ secrets.APPLE_IDENTITY }} | ||
|