Skip to content

Commit 6087cc4

Browse files
authored
Update release.yml
1 parent 90b502b commit 6087cc4

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ jobs:
1212
image: electronuserland/builder
1313
env:
1414
TAR_OPTIONS: "--format=ustar"
15+
PUBLISH_FOR_PULL_REQUEST: true
1516

1617
steps:
1718
- uses: "actions/checkout@v1"
@@ -26,6 +27,11 @@ jobs:
2627
runs-on: ubuntu-latest
2728
container:
2829
image: electronuserland/builder:wine
30+
volumes:
31+
- ~/.cache/electron:/root/.cache/electron
32+
- ~/.cache/electron-builder:/root/.cache/electron-builder
33+
env:
34+
PUBLISH_FOR_PULL_REQUEST: true
2935

3036
steps:
3137
- uses: "actions/checkout@v1"
@@ -42,7 +48,7 @@ jobs:
4248
steps:
4349
- uses: "actions/checkout@v1"
4450

45-
- run: npm install
51+
- run: npm install --arch=x64
4652

4753
- name: Create certificate.p12
4854
run: echo "$encoded_p12" | base64 --decode > certificate.p12
@@ -56,6 +62,7 @@ jobs:
5662
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
5763
CSC_LINK: "./certificate.p12"
5864
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
65+
PUBLISH_FOR_PULL_REQUEST: true
5966

6067
run: npm run build:mac -- -p always
6168

0 commit comments

Comments
 (0)