on master help sign in
Remove the rust-toolchain.toml file before building the release
6bfc309Michael Davis
.github/workflows/release.yml+6
@@ -114,6 +114,12 @@ jobs:
114 mkdir -p runtime/grammars/sources
114 mkdir -p runtime/grammars/sources
115 tar xJf grammars/grammars.tar.xz -C runtime/grammars/sources
115 tar xJf grammars/grammars.tar.xz -C runtime/grammars/sources
116
116
117+ # The rust-toolchain action ignores rust-toolchain.toml files.
118+ # Removing this before building with cargo ensures that the rust-toolchain
119+ # is considered the same between installation and usage.
120+ - name: Remove the rust-toolchain.toml file
121+ run: rm rust-toolchain.toml
122+
117 - name: Install ${{ matrix.rust }} toolchain
123 - name: Install ${{ matrix.rust }} toolchain
118 uses: dtolnay/rust-toolchain@master
124 uses: dtolnay/rust-toolchain@master
119 with:
125 with: