Skip to content

Commit

Permalink
Fix workflows (#2777)
Browse files Browse the repository at this point in the history
* don't echo

it's shown in the previous command already

* use examples as cwd

this should help cargo detect the .cargo/config.toml file in the
directory

* add [unstable]
  • Loading branch information
ranile authored Jul 10, 2022
1 parent 5570710 commit 423ef28
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -251,5 +251,3 @@ jobs:
with:
run: cat js-framework-benchmark/webdriver-ts/results/results.json | ./yew/tools/target/release/process-benchmark-results

- name: Show output JSON
run: echo ${{ steps.results.outputs.stdout }}
8 changes: 4 additions & 4 deletions .github/workflows/size-cmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@ jobs:
version: 'latest'

- name: Build master examples
run: find examples/*/index.html | xargs -I '{}' trunk build --release '{}' || exit 0
working-directory: yew-master
run: find ./*/index.html | xargs -I '{}' trunk build --release '{}' || exit 0
working-directory: yew-master/examples
env:
RUSTUP_TOOLCHAIN: nightly

- name: Build pull request examples
run: find examples/*/index.html | xargs -I '{}' trunk build --release '{}' || exit 0
working-directory: current-pr
run: find ./*/index.html | xargs -I '{}' trunk build --release '{}' || exit 0
working-directory: current-pr/examples
env:
RUSTUP_TOOLCHAIN: nightly

Expand Down
1 change: 1 addition & 0 deletions examples/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[unstable]
build-std = ["std", "panic_abort"]
build-std-features = ["panic_immediate_abort"]
share-generics = true

0 comments on commit 423ef28

Please sign in to comment.