Skip to content

Commit 9684924

Browse files
committed
tag切ったらpublish
1 parent ae21891 commit 9684924

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ name: Publish to JSR
22

33
on:
44
push:
5-
branches:
6-
- main
7-
paths:
8-
- "scenario-flow/**"
5+
tags:
6+
- "v*"
97
workflow_dispatch:
108

119
jobs:
@@ -16,14 +14,18 @@ jobs:
1614
contents: read
1715
id-token: write
1816

17+
strategy:
18+
matrix:
19+
deno-version: ["latest"]
20+
1921
steps:
2022
- name: Checkout
2123
uses: actions/checkout@v4
2224

2325
- name: Setup Deno
2426
uses: denoland/setup-deno@v1
2527
with:
26-
deno-version: v1.x
28+
deno-version: ${{ matrix.deno-version }}
2729

2830
- name: Run tests
2931
run: |

0 commit comments

Comments
 (0)