Skip to content

Commit 5cdcead

Browse files
committed
Use deno publish arg for version
1 parent e7ed4e4 commit 5cdcead

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.github/workflows/ci.yml

+1-6
Original file line numberDiff line numberDiff line change
@@ -59,19 +59,14 @@ jobs:
5959
with:
6060
deno-version: v2.x
6161

62-
- name: Set Version
63-
run: |
64-
sed -i -e "s/0.0.0/${{ needs.lint.outputs.version }}/" deno.json
65-
cat deno.json
66-
6762
- name: Tests
6863
run: |
6964
deno test --allow-net --coverage=cov/
7065
deno coverage cov/
7166
7267
- name: Publish Release Package
7368
if: startsWith(github.ref, 'refs/tags/v')
74-
run: deno publish --allow-dirty
69+
run: deno publish --allow-dirty --set-version ${{ needs.lint.outputs.version }}
7570

7671
npm:
7772
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)