Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
Disable cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
milesj committed Nov 4, 2023
1 parent 827662e commit a6d10c5
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
- uses: moonrepo/setup-rust@v1
with:
bins: cargo-wasi, cargo-nextest
cache: false
- uses: moonrepo/setup-toolchain@v0
- run: df
if: ${{ always() && runner.os == 'Linux' }}
Expand Down
13 changes: 13 additions & 0 deletions scripts/cleanTarget.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import fs from "fs";

const file = process.argv[1];

// Copy built file
fs.mkdirSync("temp-target");
fs.copyFileSync(
`target/wasm32-wasi/debug/${file}.wasm`,
`temp-target/${file}.wasm`
);

// Delete target folder
fs.rmdirSync("target", { recursive: true });

0 comments on commit a6d10c5

Please sign in to comment.