Skip to content

Commit 92c8b5a

Browse files
committed
fix build
1 parent f895613 commit 92c8b5a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ jobs:
4747
rustup update stable
4848
rustup component add rustfmt rust-src clippy
4949
rustup target add ${{ matrix.target }}
50+
rustup target add wasm32-unknown-unknown
5051
- name: Run Tests (univ)
5152
run: cargo test --features univ
5253
- name: Run Tests (wasm)
@@ -88,7 +89,7 @@ jobs:
8889
if: contains(matrix.target, 'windows')
8990
run: echo version=$((Get-Content ./cmd/Cargo.toml | Select-String '^version').ToString().Split('"')[1]) >> $GITHUB_ENV
9091
- name: Naming (windows)
91-
if: contains(matrix.target, 'darwin') || contains(matrix.target, 'linux')
92+
if: contains(matrix.target, 'windows')
9293
run: Rename-Item -Path target/${{ matrix.target }}/release/basjoofan.exe -NewName target/${{ matrix.target }}/release/basjoofan-${{ env.version }}-${{ matrix.target }}.exe
9394
- name: Upload Artifacts
9495
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)