mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
parent
15f275f572
commit
be2aaa1d7e
2 changed files with 22 additions and 2 deletions
2
.github/workflows/release_cli.yml
vendored
2
.github/workflows/release_cli.yml
vendored
|
|
@ -1,7 +1,5 @@
|
|||
name: Release CLI
|
||||
|
||||
# When main is pushed and npm/oxc/package.json has been changed,
|
||||
# trigger the jobs after the ci workflow has been passed.
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
|
|
|||
22
.github/workflows/release_crates.yml
vendored
Normal file
22
.github/workflows/release_crates.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
name: Release Crates
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- crates/oxc/Cargo.toml
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release crates
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: taiki-e/checkout-action@v1
|
||||
- uses: cargo-bins/cargo-binstall@main
|
||||
- run: cargo binstall --no-confirm cargo-release-oxc
|
||||
- run: cargo release-oxc publish
|
||||
Loading…
Reference in a new issue