Skip to content

Add branch back for testing #4

Add branch back for testing

Add branch back for testing #4

Workflow file for this run

name: Publish
on:
push:
branches:
- main
- tm/publish-jsr
jobs:
generate-matrix:
name: Generate Job Matrix
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/[email protected]
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task set-publish-matrix
working-directory: www
id: set-matrix
publish:
name: Publish ${{ matrix.workspace }} to JSR
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
if: needs.generate-matrix.outputs.matrix != ''
needs: [generate-matrix]
strategy:
fail-fast: false
max-parallel: 6
matrix: ${{fromJSON(needs.generate-matrix.outputs.matrix)}}
steps:
- uses: actions/[email protected]
- uses: denoland/setup-deno@v1
- run: deno publish
working-directory: ${{ matrix.workspace }}