Skip to content

Commit a9022b3

Browse files
committed
Make unstable toolchain versions jobs optional to pass
The first instance of the need for this is try-build tets: Nightly `rustc ` has updated its error message and this causes nightly job to fail now
1 parent 08ef507 commit a9022b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
rust: [stable, beta, nightly]
4747
runs-on: ubuntu-latest
4848

49+
continue-on-error: ${{ matrix.rust != 'stable' }}
50+
4951
steps:
5052
- name: Setup Rust
5153
uses: hecrj/setup-rust-action@v1
@@ -82,12 +84,12 @@ jobs:
8284
- name: Set up Rust
8385
uses: hecrj/setup-rust-action@v1
8486
- uses: actions/checkout@v2
85-
- name: Publish
87+
- name: Publish
8688
run: |
8789
pushd dynomite-derive
8890
cargo publish --token ${{ secrets.CRATES_TOKEN }}
8991
popd
90-
# eventual consistency dictates we wait a bit before publishing
92+
# eventual consistency dictates we wait a bit before publishing
9193
# a crate that depends on the above
9294
sleep 20
9395
pushd dynomite

0 commit comments

Comments
 (0)