Skip to content

Commit

Permalink
chore: fix publish (#683)
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats authored Dec 20, 2024
1 parent bd068c4 commit f5eeb2e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,20 @@ jobs:
cargo test --locked --all-targets
deno test --allow-read --allow-net --allow-env --allow-write
- name: Publish
if: |
contains(matrix.os, 'ubuntu') &&
github.repository == 'denoland/deno_doc' &&
startsWith(github.ref, 'refs/tags/')
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish
- name: Publish to JSR
if: contains(matrix.os, 'ubuntu')
run: cd js && deno run -A jsr:@david/[email protected] --allow-dirty

- name: Install cargo-llvm-cov
if: contains(matrix.os, 'ubuntu')
uses: taiki-e/install-action@cargo-llvm-cov
Expand All @@ -86,17 +100,3 @@ jobs:
files: lcov.info
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}

- name: Publish
if: |
contains(matrix.os, 'ubuntu') &&
github.repository == 'denoland/deno_doc' &&
startsWith(github.ref, 'refs/tags/')
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish
- name: Publish to JSR
if: contains(matrix.os, 'ubuntu')
run: cd js && deno run -A jsr:@david/[email protected] --allow-dirty

0 comments on commit f5eeb2e

Please sign in to comment.