mirror of
https://github.com/rtic-rs/rtic.git
synced 2024-11-23 20:22:51 +01:00
ci: Always parse version, cleanup deps
This commit is contained in:
parent
bf35fa3f15
commit
eeae3c4568
1 changed files with 3 additions and 11 deletions
14
.github/workflows/build.yml
vendored
14
.github/workflows/build.yml
vendored
|
@ -405,8 +405,8 @@ jobs:
|
||||||
path: mdbookold.tar
|
path: mdbookold.tar
|
||||||
|
|
||||||
parseversion:
|
parseversion:
|
||||||
# Only run this when pushing to master branch
|
name: Parse the master branch RTIC version
|
||||||
if: github.ref == 'refs/heads/master'
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
|
@ -434,15 +434,8 @@ jobs:
|
||||||
name: If CI passes, merge master branch into release/vX
|
name: If CI passes, merge master branch into release/vX
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
|
- ci
|
||||||
- parseversion
|
- parseversion
|
||||||
- formatcheck
|
|
||||||
- check
|
|
||||||
- clippy
|
|
||||||
- checkexamples
|
|
||||||
- testexamples
|
|
||||||
- tests
|
|
||||||
- docs
|
|
||||||
- mdbook
|
|
||||||
|
|
||||||
# Only run this when pushing to master branch
|
# Only run this when pushing to master branch
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
@ -461,7 +454,6 @@ jobs:
|
||||||
name: deploy
|
name: deploy
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
needs:
|
needs:
|
||||||
- parseversion
|
|
||||||
- mergetostablebranch
|
- mergetostablebranch
|
||||||
- docs
|
- docs
|
||||||
- mdbookold
|
- mdbookold
|
||||||
|
|
Loading…
Reference in a new issue