Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix publish #683

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading