Skip to content

Commit

Permalink
Fix build.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
coolreader18 committed Mar 1, 2021
1 parent 1825620 commit 4877fd8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ jobs:
build:
runs-on: ${{ matrix.os }}-latest

defaults:
run:
shell: bash

strategy:
matrix:
os: [ubuntu, macos, windows]
Expand Down Expand Up @@ -41,7 +45,9 @@ jobs:
- run: aws s3 sync s3://${{ secrets.S3_BUCKET_BUILD }}/cli-assets dist

- if: matrix.os == 'windows'
run: choco install llvm
run: |
choco install llvm
echo "LLVM_SYS_110_PREFIX=C:/Program Files/LLVM" >> $GITHUB_ENV
- if: matrix.os == 'macos'
run: |
brew install llvm
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ fn main() {
.metadata()
.and_then(|m| Ok((m, dst.metadata()?)))
.and_then(|(src, dst)| Ok(src.modified()? > dst.modified()?))
.unwrap_or(false);
.unwrap_or(true);

if needs_updating {
let wasm_source = fs::read(&src).unwrap();
Expand Down

0 comments on commit 4877fd8

Please sign in to comment.