Skip to content

Commit 664dfab

Browse files
committed
ci(release): run cargo-release with feature llvm18-1 (#25)
1 parent f64726c commit 664dfab

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/release.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
runs-on: ubuntu-latest
3737
env:
3838
LLVM_INSTALL_PATH: ~/llvm
39-
LLVM_VERSION: "14"
40-
LLVM_LIB_NAME: "libLLVM-14.so"
39+
LLVM_VERSION: "18"
40+
LLVM_VERSION_IN_FEATURE: "18-1"
41+
LLVM_LIB_NAME: "libLLVM.so.18.1"
4142
steps:
4243
- name: Checkout the repository
4344
uses: actions/checkout@v4
@@ -65,6 +66,10 @@ jobs:
6566
tool: cargo-release
6667

6768
- name: Publish
68-
run: cargo release publish -x --no-confirm --workspace --features llvm-plugin/llvm${{ env.LLVM_VERSION }}-0
69+
run: |
70+
cargo release \
71+
publish -x --no-confirm \
72+
--workspace \
73+
--features llvm-plugin/llvm${{ env.LLVM_VERSION_IN_FEATURE }}
6974
env:
7075
CARGO_REGISTRY_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}

0 commit comments

Comments
 (0)