We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d491d1b + b9871f6 commit 58c8d7bCopy full SHA for 58c8d7b
.github/workflows/deno_tests.yml
@@ -95,6 +95,25 @@ jobs:
95
deno-version: v2.x
96
- run: deno publish --dry-run
97
98
+ publish:
99
+ runs-on: ubuntu-latest
100
+ needs: [test, publish-dry-run]
101
+ if: github.ref_type == 'tag'
102
+ permissions:
103
+ contents: read
104
+ id-token: write
105
+ attestations: write
106
+ steps:
107
+ - uses: actions/checkout@v4
108
+ - name: Check tag matches ${{ github.ref_name }}
109
+ run: jq -e ".version[:1] != \"v\" and .version==\"$TAG\"" deno.json
110
+ env:
111
+ TAG: ${{ github.ref_name }}
112
+ - uses: denoland/setup-deno@v2
113
+ with:
114
+ deno-version: v2.x
115
+ - run: deno publish
116
+
117
deploy:
118
needs: [build]
119
runs-on: ubuntu-latest
0 commit comments