Skip to content

Commit 593136b

Browse files
authored
Removing the commented-out job (#3119)
* Removing the commented-out job * Removed the dependencies * Added Rust toolchain
1 parent 1c12d06 commit 593136b

File tree

1 file changed

+12
-36
lines changed

1 file changed

+12
-36
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -4,46 +4,17 @@ on:
44
types: [published]
55

66
jobs:
7-
# publish:
8-
# name: publish
9-
# runs-on: ubuntu-latest
10-
# timeout-minutes: 60
11-
# steps:
12-
# - name: Checkout repository
13-
# uses: actions/checkout@v3
14-
15-
# - name: Install Rust toolchain
16-
# uses: actions-rs/toolchain@v1
17-
# with:
18-
# toolchain: stable
19-
# profile: minimal
20-
# override: true
21-
22-
# - name: Install cargo-workspaces
23-
# uses: actions-rs/install@v0.1
24-
# with:
25-
# crate: cargo-workspaces
26-
27-
# - name: Release
28-
# env:
29-
# CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
30-
# PATCH: ${{ github.run_number }}
31-
# shell: bash
32-
# run: |
33-
# git config --global user.email "runner@gha.local"
34-
# git config --global user.name "Github Action"
35-
# cargo workspaces publish \
36-
# --from-git \
37-
# --yes \
38-
# --no-git-commit \
39-
# skip
40-
417
doc-publish:
42-
needs: publish
438
runs-on: ubuntu-latest
449
timeout-minutes: 60
4510
steps:
4611
- uses: actions/checkout@v3
12+
- name: Install Rust toolchain
13+
uses: actions-rs/toolchain@v1
14+
with:
15+
toolchain: stable
16+
profile: minimal
17+
override: true
4718
- name: Install wasm-pack
4819
uses: baptiste0928/cargo-install@v2.1.0
4920
with:
@@ -73,7 +44,6 @@ jobs:
7344

7445
release-binaries:
7546
name: Publish binaries
76-
needs: publish
7747
strategy:
7848
fail-fast: false
7949
matrix:
@@ -100,6 +70,12 @@ jobs:
10070
runs-on: ${{ matrix.os }}
10171
steps:
10272
- uses: actions/checkout@v3
73+
- name: Install Rust toolchain
74+
uses: actions-rs/toolchain@v1
75+
with:
76+
toolchain: stable
77+
profile: minimal
78+
override: true
10379
- name: Build
10480
run: cargo build --target ${{ matrix.target }} --verbose --release --locked --bin boa
10581
- name: Upload binaries to release

0 commit comments

Comments
 (0)