Skip to content

Commit efeac0e

Browse files
committed
update workflow files to reflect changed package names and profiles
1 parent e0494eb commit efeac0e

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build-codegen-wasm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: rustup target add wasm32-wasip1
2727

2828
- name: Build wasm32-wasip1
29-
run: cargo build --package jsoncodegen-${{ github.event.inputs.lang }} --profile cli --target wasm32-wasip1
29+
run: cargo build --package jsoncodegen-${{ github.event.inputs.lang }} --profile wasm --target wasm32-wasip1
3030

3131
- name: Rename binary
3232
run: mv target/wasm32-wasip1/cli/jsoncodegen-${{ github.event.inputs.lang }}.wasm jsoncodegen-${{ github.event.inputs.lang }}-wasm32-wasip1.wasm

.github/workflows/release-cli.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: rustup target add x86_64-unknown-linux-gnu
2727

2828
- name: Build x86_64-unknown-linux-gnu
29-
run: cargo build --package jcg --profile cli --target x86_64-unknown-linux-gnu
29+
run: cargo build --package jsoncodegen-cli --profile cli --target x86_64-unknown-linux-gnu
3030

3131
- name: Rename Binary
3232
run: mv target/x86_64-unknown-linux-gnu/cli/jcg jcg-x86_64-unknown-linux-gnu
@@ -56,7 +56,7 @@ jobs:
5656
run: rustup target add aarch64-unknown-linux-gnu
5757

5858
- name: Build aarch64-unknown-linux-gnu
59-
run: cargo build --package jcg --profile cli --target aarch64-unknown-linux-gnu
59+
run: cargo build --package jsoncodegen-cli --profile cli --target aarch64-unknown-linux-gnu
6060

6161
- name: Rename Binary
6262
run: mv target/aarch64-unknown-linux-gnu/cli/jcg jcg-aarch64-unknown-linux-gnu
@@ -87,10 +87,10 @@ jobs:
8787
run: rustup target add x86_64-pc-windows-msvc i686-pc-windows-msvc
8888

8989
- name: Build x86_64-pc-windows-msvc
90-
run: cargo build --package jcg --profile cli --target x86_64-pc-windows-msvc
90+
run: cargo build --package jsoncodegen-cli --profile cli --target x86_64-pc-windows-msvc
9191

9292
- name: Build i686-pc-windows-msvc
93-
run: cargo build --package jcg --profile cli --target i686-pc-windows-msvc
93+
run: cargo build --package jsoncodegen-cli --profile cli --target i686-pc-windows-msvc
9494

9595
- name: Rename x86_64 Binary
9696
run: move target/x86_64-pc-windows-msvc/cli/jcg.exe jcg-x86_64-pc-windows-msvc.exe
@@ -132,7 +132,7 @@ jobs:
132132
run: rustup target add aarch64-pc-windows-msvc
133133

134134
- name: Build aarch64-pc-windows-msvc
135-
run: cargo build --package jcg --profile cli --target aarch64-pc-windows-msvc
135+
run: cargo build --package jsoncodegen-cli --profile cli --target aarch64-pc-windows-msvc
136136

137137
- name: Rename Binary
138138
run: move target/aarch64-pc-windows-msvc/cli/jcg.exe jcg-aarch64-pc-windows-msvc.exe
@@ -163,10 +163,10 @@ jobs:
163163
run: rustup target add x86_64-apple-darwin aarch64-apple-darwin
164164

165165
- name: Build x86_64-apple-darwin
166-
run: cargo build --package jcg --profile cli --target x86_64-apple-darwin
166+
run: cargo build --package jsoncodegen-cli --profile cli --target x86_64-apple-darwin
167167

168168
- name: Build aarch64-apple-darwin
169-
run: cargo build --package jcg --profile cli --target aarch64-apple-darwin
169+
run: cargo build --package jsoncodegen-cli --profile cli --target aarch64-apple-darwin
170170

171171
- name: Rename x86_64 Binary
172172
run: mv target/x86_64-apple-darwin/cli/jcg jcg-x86_64-apple-darwin

0 commit comments

Comments
 (0)