-
-
Notifications
You must be signed in to change notification settings - Fork 411
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removing the commented-out job (#3119)
* Removing the commented-out job * Removed the dependencies * Added Rust toolchain
- Loading branch information
Showing
1 changed file
with
12 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,46 +4,17 @@ on: | |
types: [published] | ||
|
||
jobs: | ||
# publish: | ||
# name: publish | ||
# runs-on: ubuntu-latest | ||
# timeout-minutes: 60 | ||
# steps: | ||
# - name: Checkout repository | ||
# uses: actions/checkout@v3 | ||
|
||
# - name: Install Rust toolchain | ||
# uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: stable | ||
# profile: minimal | ||
# override: true | ||
|
||
# - name: Install cargo-workspaces | ||
# uses: actions-rs/[email protected] | ||
# with: | ||
# crate: cargo-workspaces | ||
|
||
# - name: Release | ||
# env: | ||
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} | ||
# PATCH: ${{ github.run_number }} | ||
# shell: bash | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "Github Action" | ||
# cargo workspaces publish \ | ||
# --from-git \ | ||
# --yes \ | ||
# --no-git-commit \ | ||
# skip | ||
|
||
doc-publish: | ||
needs: publish | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
- name: Install wasm-pack | ||
uses: baptiste0928/[email protected] | ||
with: | ||
|
@@ -73,7 +44,6 @@ jobs: | |
|
||
release-binaries: | ||
name: Publish binaries | ||
needs: publish | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
|
@@ -100,6 +70,12 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Rust toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
profile: minimal | ||
override: true | ||
- name: Build | ||
run: cargo build --target ${{ matrix.target }} --verbose --release --locked --bin boa | ||
- name: Upload binaries to release | ||
|