Skip to content

Commit

Permalink
Make unstable toolchain versions jobs optional to pass
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Veetaha committed Sep 10, 2020
1 parent 08ef507 commit a9022b3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ jobs:
rust: [stable, beta, nightly]
runs-on: ubuntu-latest

continue-on-error: ${{ matrix.rust != 'stable' }}

steps:
- name: Setup Rust
uses: hecrj/setup-rust-action@v1
Expand Down Expand Up @@ -82,12 +84,12 @@ jobs:
- name: Set up Rust
uses: hecrj/setup-rust-action@v1
- uses: actions/checkout@v2
- name: Publish
- name: Publish
run: |
pushd dynomite-derive
cargo publish --token ${{ secrets.CRATES_TOKEN }}
popd
# eventual consistency dictates we wait a bit before publishing
# eventual consistency dictates we wait a bit before publishing
# a crate that depends on the above
sleep 20
pushd dynomite
Expand Down

0 comments on commit a9022b3

Please sign in to comment.