File tree 2 files changed +14
-15
lines changed
2 files changed +14
-15
lines changed Original file line number Diff line number Diff line change 16
16
defaults :
17
17
run :
18
18
shell : bash
19
+ permissions :
20
+ contents : read
21
+ id-token : write
19
22
20
23
env :
21
24
CARGO_INCREMENTAL : 0
84
87
run : |
85
88
cargo publish
86
89
87
- - name : Get tag version
88
- if : contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
89
- id : get_tag_version
90
- run : echo TAG_VERSION=${GITHUB_REF/refs\/tags\//} >> "$GITHUB_OUTPUT"
91
-
92
- - name : Publish deno.land/x
93
- uses : denoland/publish-folder@82ce065074e7174baf444332c4b7c40869a4909a
94
- if : contains(matrix.os, 'ubuntu') && startsWith(github.ref, 'refs/tags/')
95
- with :
96
- folder : js
97
- branch : deno_registry
98
- tag : deno/${{ steps.get_tag_version.outputs.TAG_VERSION }}
99
- token : ${{ secrets.DENOBOT_PAT }}
100
- git-user-name : denobot
101
- git-user-email : denobot@users.noreply.github.com
90
+ - name : Publish to JSR
91
+ if : contains(matrix.os, 'ubuntu')
92
+ run : cd js && deno run -A jsr:@david/publish-on-tag@0.1.3 --allow-dirty
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " @deno/doc" ,
3
+ "version" : " 0.0.0" ,
4
+ "exports" : {
5
+ "." : " ./mod.ts" ,
6
+ "./types" : " ./types.d.ts"
7
+ }
8
+ }
You can’t perform that action at this time.
0 commit comments