Skip to content

Commit b6ccc06

Browse files
committed
refactor(ci): deduplicate dmg init
1 parent 6583177 commit b6ccc06

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.github/workflows/main.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,10 @@ jobs:
3737
uses: actions/setup-node@v4
3838
with:
3939
node-version: 20
40-
- name: Set up Python for appdmg to be installed
41-
if: ${{ matrix.os.name == 'macos' }}
42-
run: brew install python-setuptools
40+
- name: Run the build
41+
uses: ./.github/actions/build
42+
with:
43+
os: ${{ matrix.os.name }}
4344
- name: Install dependencies
4445
run: npm ci
4546
- name: Update build info

.github/workflows/nightly.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
uses: actions/setup-node@v4
3535
with:
3636
node-version: 20
37-
- name: Set up Python for appdmg to be installed
38-
if: ${{ matrix.os.name == 'macos' }}
39-
run: brew install python-setuptools
37+
- name: Run the build
38+
uses: ./.github/actions/build
39+
with:
40+
os: ${{ matrix.os.name }}
4041
- name: Install dependencies
4142
run: npm ci
4243
- name: Update build info

.github/workflows/release.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ jobs:
3434
uses: actions/setup-node@v4
3535
with:
3636
node-version: 20
37-
- name: Set up Python for appdmg to be installed
38-
if: ${{ matrix.os.name == 'macos' }}
39-
run: brew install python-setuptools
37+
- name: Run the build
38+
uses: ./.github/actions/build
39+
with:
40+
os: ${{ matrix.os.name }}
4041
- name: Install dependencies
4142
run: npm ci
4243
- name: Update build info

0 commit comments

Comments
 (0)