@@ -211,32 +211,32 @@ jobs:
211
211
name : Publish to Maven Central
212
212
steps :
213
213
- uses : actions/checkout@v3
214
- # with:
215
- # fetch-depth: 0
216
- # - uses: coursier/setup-action@v1
217
- # with:
218
- # jvm: adoptium:1.19.0.1
219
- # - name: Cache SBT
220
- # uses: actions/cache@v3
221
- # with:
222
- # path: |
223
- # ~/.ivy2/cache
224
- # ~/.cache/coursier
225
- # ~/.sbt
226
- # key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
227
- # - name: Cache Build Files
228
- # uses: actions/cache@v3
229
- # with:
230
- # path: |
231
- # **/target
232
- # key: ${{ runner.os }}-build-${{ github.sha }}
233
- # - name: Publish
234
- # run: sbt ci-release
235
- # env:
236
- # PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
237
- # PGP_SECRET: ${{ secrets.PGP_SECRET }}
238
- # SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
239
- # SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
214
+ with :
215
+ fetch-depth : 0
216
+ - uses : coursier/setup-action@v1
217
+ with :
218
+ jvm : adoptium:1.19.0.1
219
+ - name : Cache SBT
220
+ uses : actions/cache@v3
221
+ with :
222
+ path : |
223
+ ~/.ivy2/cache
224
+ ~/.cache/coursier
225
+ ~/.sbt
226
+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
227
+ - name : Cache Build Files
228
+ uses : actions/cache@v3
229
+ with :
230
+ path : |
231
+ **/target
232
+ key : ${{ runner.os }}-build-${{ github.sha }}
233
+ - name : Publish
234
+ run : sbt ci-release
235
+ env :
236
+ PGP_PASSPHRASE : ${{ secrets.PGP_PASSPHRASE }}
237
+ PGP_SECRET : ${{ secrets.PGP_SECRET }}
238
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
239
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
240
240
241
241
npm-release :
242
242
needs : [build, native-build, node-test]
@@ -245,58 +245,58 @@ jobs:
245
245
name : Publish to NPM
246
246
steps :
247
247
- uses : actions/checkout@v3
248
- # with:
249
- # fetch-depth: 0
250
- # - uses: coursier/setup-action@v1
251
- # with:
252
- # jvm: adoptium:1.19.0.1
253
- # - uses: actions/setup-node@v3
254
- # with:
255
- # node-version: '18'
256
- # cache: 'yarn'
257
- # registry-url: 'https://registry.npmjs.org'
258
- # - name: Cache SBT
259
- # uses: actions/cache@v3
260
- # with:
261
- # path: |
262
- # ~/.ivy2/cache
263
- # ~/.cache/coursier
264
- # ~/.sbt
265
- # key: ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
266
- # - name: Cache Build Files
267
- # uses: actions/cache@v3
268
- # with:
269
- # path: |
270
- # **/target
271
- # key: ${{ runner.os }}-build-${{ github.sha }}
272
- # - name: Install
273
- # run: yarn install --frozen-lockfile
274
- # - uses: actions/download-artifact@v3
275
- # with:
276
- # name: recheck.js
277
- # path: modules/recheck-js/target/scala-2.13/recheck-js-opt/
278
- # - uses: actions/download-artifact@v3
279
- # with:
280
- # name: recheck.jar
281
- # path: packages/recheck-jar/
282
- # - uses: actions/download-artifact@v3
283
- # with:
284
- # name: recheck-darwin-x64
285
- # path: packages/recheck-macos-x64/
286
- # - uses: actions/download-artifact@v3
287
- # with:
288
- # name: recheck-linux-x64
289
- # path: packages/recheck-linux-x64/
290
- # - uses: actions/download-artifact@v3
291
- # with:
292
- # name: recheck-win32-x64.exe
293
- # path: packages/recheck-windows-x64/
294
- # - name: Build
295
- # run: NODE_ENV=production yarn lerna run build
296
- # - name: Publish
297
- # run: yarn lerna publish ${{ needs.build.outputs.version }} --yes
298
- # env:
299
- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
248
+ with :
249
+ fetch-depth : 0
250
+ - uses : coursier/setup-action@v1
251
+ with :
252
+ jvm : adoptium:1.19.0.1
253
+ - uses : actions/setup-node@v3
254
+ with :
255
+ node-version : ' 18'
256
+ cache : ' yarn'
257
+ registry-url : ' https://registry.npmjs.org'
258
+ - name : Cache SBT
259
+ uses : actions/cache@v3
260
+ with :
261
+ path : |
262
+ ~/.ivy2/cache
263
+ ~/.cache/coursier
264
+ ~/.sbt
265
+ key : ${{ runner.os }}-sbt-${{ hashFiles('**/*.sbt') }}
266
+ - name : Cache Build Files
267
+ uses : actions/cache@v3
268
+ with :
269
+ path : |
270
+ **/target
271
+ key : ${{ runner.os }}-build-${{ github.sha }}
272
+ - name : Install
273
+ run : yarn install --frozen-lockfile
274
+ - uses : actions/download-artifact@v3
275
+ with :
276
+ name : recheck.js
277
+ path : modules/recheck-js/target/scala-2.13/recheck-js-opt/
278
+ - uses : actions/download-artifact@v3
279
+ with :
280
+ name : recheck.jar
281
+ path : packages/recheck-jar/
282
+ - uses : actions/download-artifact@v3
283
+ with :
284
+ name : recheck-darwin-x64
285
+ path : packages/recheck-macos-x64/
286
+ - uses : actions/download-artifact@v3
287
+ with :
288
+ name : recheck-linux-x64
289
+ path : packages/recheck-linux-x64/
290
+ - uses : actions/download-artifact@v3
291
+ with :
292
+ name : recheck-win32-x64.exe
293
+ path : packages/recheck-windows-x64/
294
+ - name : Build
295
+ run : NODE_ENV=production yarn lerna run build
296
+ - name : Publish
297
+ run : yarn lerna publish ${{ needs.build.outputs.version }} --yes
298
+ env :
299
+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
300
300
301
301
release :
302
302
needs : [maven-release, npm-release]
0 commit comments