@@ -71,11 +71,11 @@ jobs:
7171 security import certificate.p12 -k build.keychain -P "$CERTIFICATE_PASSWORD" -T /usr/bin/codesign
7272 security set-key-partition-list -S apple-tool:,apple:,codesign: -s -k "$CERTIFICATE_PASSWORD" build.keychain
7373
74- - name : setup windows certificate
75- if : startsWith(matrix.platform, 'windows-')
76- run : |
77- $bytes = [Convert]::FromBase64String("$env:WINDOWS_CERTIFICATE")
78- [IO.File]::WriteAllBytes("certificate.pfx", $bytes)
74+ # - name: setup windows certificate
75+ # if: startsWith(matrix.platform, 'windows-')
76+ # run: |
77+ # $bytes = [Convert]::FromBase64String("$env:WINDOWS_CERTIFICATE")
78+ # [IO.File]::WriteAllBytes("certificate.pfx", $bytes)
7979
8080 - name : publish macOS arm64
8181 if : startsWith(matrix.platform, 'macos-latest')
@@ -91,62 +91,62 @@ jobs:
9191 run : |
9292 npm run publish
9393
94- - name : publish macOS x86_64
95- if : startsWith(matrix.platform, 'macos-13')
96- env :
97- NODE_OPTIONS : ' --max_old_space_size=8192'
98- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99- # apple notarization
100- APPLE_API_KEY : ./apple_api_key.p8
101- # sentry integration
102- # sentry vite plugin integration during build
103- SENTRY_ORG : ${{ vars.SENTRY_ORG }}
104- SENTRY_PROJECT : ${{ vars.SENTRY_PROJECT }}
105- run : |
106- npm run publish -- --arch=x64
107-
108- - name : publish Windows
109- if : startsWith(matrix.platform, 'windows-')
110- env :
111- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
112- # windows cert
113- WINDOWS_CERTIFICATE_PATH : ./certificate.pfx
114- # sentry integration
115- # sentry vite plugin integration during build
116- SENTRY_ORG : ${{ vars.SENTRY_ORG }}
117- SENTRY_PROJECT : ${{ vars.SENTRY_PROJECT }}
118- run : npm run publish
119-
120- - name : publish Linux
121- if : startsWith(matrix.platform, 'ubuntu-')
122- env :
123- NODE_OPTIONS : ' --max_old_space_size=8192'
124- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
125- # sentry integration
126- # sentry vite plugin integration during build
127- SENTRY_ORG : ${{ vars.SENTRY_ORG }}
128- SENTRY_PROJECT : ${{ vars.SENTRY_PROJECT }}
129- run : |
130- sudo apt install -y rpm
131-
132- # There is a bug on Ubuntu 22.04 (ubuntu-latest) regarding stripping a binary for a different architecture.
133- # https://github.com/electron/forge/issues/3102
134- # https://github.com/electron/forge/issues/3701
135- echo "%__strip /bin/true" >> ~/.rpmmacros
136-
137- npm run publish
138- npm run publish -- --arch=arm64
94+ # - name: publish macOS x86_64
95+ # if: startsWith(matrix.platform, 'macos-13')
96+ # env:
97+ # NODE_OPTIONS: '--max_old_space_size=8192'
98+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
99+ # # apple notarization
100+ # APPLE_API_KEY: ./apple_api_key.p8
101+ # # sentry integration
102+ # # sentry vite plugin integration during build
103+ # SENTRY_ORG: ${{ vars.SENTRY_ORG }}
104+ # SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
105+ # run: |
106+ # npm run publish -- --arch=x64
107+
108+ # - name: publish Windows
109+ # if: startsWith(matrix.platform, 'windows-')
110+ # env:
111+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112+ # # windows cert
113+ # WINDOWS_CERTIFICATE_PATH: ./certificate.pfx
114+ # # sentry integration
115+ # # sentry vite plugin integration during build
116+ # SENTRY_ORG: ${{ vars.SENTRY_ORG }}
117+ # SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
118+ # run: npm run publish
119+
120+ # - name: publish Linux
121+ # if: startsWith(matrix.platform, 'ubuntu-')
122+ # env:
123+ # NODE_OPTIONS: '--max_old_space_size=8192'
124+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
125+ # # sentry integration
126+ # # sentry vite plugin integration during build
127+ # SENTRY_ORG: ${{ vars.SENTRY_ORG }}
128+ # SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
129+ # run: |
130+ # sudo apt install -y rpm
131+
132+ # # There is a bug on Ubuntu 22.04 (ubuntu-latest) regarding stripping a binary for a different architecture.
133+ # # https://github.com/electron/forge/issues/3102
134+ # # https://github.com/electron/forge/issues/3701
135+ # echo "%__strip /bin/true" >> ~/.rpmmacros
136+
137+ # npm run publish
138+ # npm run publish -- --arch=arm64
139139
140140 - name : cleanup macos certificates
141141 if : startsWith(matrix.platform, 'macos-')
142142 run : |
143143 rm apple_api_key.p8
144144 rm certificate.p12
145145
146- - name : cleanup windows certificates
147- if : startsWith(matrix.platform, 'windows-')
148- run : |
149- del certificate.pfx
146+ # - name: cleanup windows certificates
147+ # if: startsWith(matrix.platform, 'windows-')
148+ # run: |
149+ # del certificate.pfx
150150
151151 - name : automated tests
152152 if : startsWith(matrix.platform, 'macos-')
0 commit comments