Skip to content

Commit

Permalink
Revert changes to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cecton committed Mar 31, 2022
1 parent 46660ed commit 8bea4e6
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/publish-examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,12 @@ jobs:
continue
fi
echo "building: $example"
(
cd "$path"
dist_dir="$output/$example"
echo "building: $example"
if [[ "$example" == "immutable" ]]; then
cargo run --example string -- dist --release
mv target/release/dist "${dist_dir}-string"
cargo run --example array -- dist --release
mv target/release/dist "${dist_dir}-array"
cargo run --example map -- dist --release
mv target/release/dist "${dist_dir}-map"
else
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX/$example"
fi
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX/$example"
)
done
Expand Down

0 comments on commit 8bea4e6

Please sign in to comment.