Binaries worklog should override rust-toolchain.yml (#420)
This commit is contained in:
10
.github/workflows/binaries.yml
vendored
10
.github/workflows/binaries.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
- name: Run sccache-cache
|
||||
uses: mozilla-actions/sccache-action@v0.0.9
|
||||
- name: 'Build: binary'
|
||||
run: cargo build --release --locked --target ${{ env.TARGET }}
|
||||
run: cargo +stable build --release --locked --target ${{ env.TARGET }}
|
||||
- name: 'Upload: binary'
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -73,8 +73,8 @@ jobs:
|
||||
- name: 'Package: deb'
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
cargo install --locked cargo-deb
|
||||
cargo deb --no-strip --target ${{ env.TARGET }}
|
||||
cargo +stable install --locked cargo-deb
|
||||
cargo +stable deb --no-strip --target ${{ env.TARGET }}
|
||||
- name: 'Upload: deb'
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -84,8 +84,8 @@ jobs:
|
||||
- name: 'Package: rpm'
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
run: |
|
||||
cargo install --locked cargo-generate-rpm
|
||||
cargo generate-rpm --target ${{ env.TARGET }}
|
||||
cargo +stable install --locked cargo-generate-rpm
|
||||
cargo +stable generate-rpm --target ${{ env.TARGET }}
|
||||
- name: 'Upload: rpm'
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
uses: actions/upload-artifact@v4
|
||||
|
||||
Reference in New Issue
Block a user