|
51 | 51 | with:
|
52 | 52 | toolchain: stable
|
53 | 53 |
|
| 54 | + - name: Install Rust nightly |
| 55 | + uses: dtolnay/rust-toolchain@nightly |
| 56 | + with: |
| 57 | + toolchain: nightly |
| 58 | + |
54 | 59 | - name: Cache rust
|
55 | 60 | uses: Swatinem/rust-cache@v2
|
56 | 61 |
|
@@ -170,23 +175,22 @@ jobs:
|
170 | 175 | NO_VERIFY_FLAG="--no-verify"
|
171 | 176 | fi
|
172 | 177 |
|
173 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/utils/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
174 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
175 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component-deserialize/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
176 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/component-id/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
177 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/system/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
178 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/system-input/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
179 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/extra-accounts/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
180 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/arguments/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
181 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/bolt-program/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
182 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/attribute/delegate/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
183 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-system/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
184 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/bolt-component/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
185 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/programs/world/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
186 |
| - cargo publish $DRY_RUN_FLAG --manifest-path=crates/bolt-lang/Cargo.toml --token $CRATES_TOKEN $NO_VERIFY_FLAG |
187 |
| - if [ "${DRY_RUN}" != "true" ]; then |
188 |
| - cargo publish --manifest-path=crates/bolt-cli/Cargo.toml --token $CRATES_TOKEN |
189 |
| - fi |
| 178 | + cargo +nightly publish -Zpackage-workspace $DRY_RUN_FLAG $NO_VERIFY_FLAG --token $CRATES_TOKEN \ |
| 179 | + -p world \ |
| 180 | + -p bolt-cli \ |
| 181 | + -p bolt-lang \ |
| 182 | + -p bolt-utils \ |
| 183 | + -p bolt-system \ |
| 184 | + -p bolt-component \ |
| 185 | + -p bolt-attribute-bolt-arguments \ |
| 186 | + -p bolt-attribute-bolt-component \ |
| 187 | + -p bolt-attribute-bolt-component-deserialize \ |
| 188 | + -p bolt-attribute-bolt-component-id \ |
| 189 | + -p bolt-attribute-bolt-delegate \ |
| 190 | + -p bolt-attribute-bolt-extra-accounts \ |
| 191 | + -p bolt-attribute-bolt-program \ |
| 192 | + -p bolt-attribute-bolt-system \ |
| 193 | + -p bolt-attribute-bolt-system-input |
190 | 194 | env:
|
191 | 195 | CRATES_TOKEN: ${{ secrets.CRATES_TOKEN }}
|
192 | 196 | DRY_RUN: ${{ env.DRY_RUN }}
|
0 commit comments