Browse Source

Fixing main branch workflows (#1858)

It seems that the workflow in the `main` branch is failing to push benchmark results, so I think this should fix it, let's see.
pull/1859/head
Iban Eguia 3 years ago
parent
commit
ab4d2899d5
  1. 4
      .github/workflows/master.yml
  2. 2
      .github/workflows/release.yml

4
.github/workflows/master.yml

@ -30,7 +30,7 @@ jobs:
with:
command: doc
args: -v --document-private-items
- run: echo "<meta http-equiv=refresh content=0;url=boa/index.html>" > target/doc/index.html
- run: echo "<meta http-equiv=refresh content=0;url=boa_engine/index.html>" > target/doc/index.html
- run: |
if [ -d target/doc_upload ]; then rm -rf target/doc_upload; fi
mkdir target/doc_upload && mv target/doc target/doc_upload/doc
@ -43,7 +43,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run benchmark
run: cargo bench -p Boa -- --output-format bencher | tee output.txt
run: cargo bench -p boa_engine -- --output-format bencher | tee output.txt
- name: Store benchmark result
uses: benchmark-action/github-action-benchmark@v1.13.0
with:

2
.github/workflows/release.yml

@ -15,7 +15,7 @@ jobs:
ref: ${{ github.sha }}
- run: cargo login ${CARGO_REGISTRY_TOKEN}
- run: cargo publish
working-directory: boa
working-directory: boa_engine
doc-publish:
needs: publish
runs-on: ubuntu-latest

Loading…
Cancel
Save