Fixed shell bash stuff around rust
This commit is contained in:
parent
781b1c2650
commit
40ca7100f9
2 changed files with 10 additions and 5 deletions
|
|
@ -34,13 +34,14 @@ jobs:
|
|||
image: ubuntu:latest
|
||||
steps:
|
||||
- name: Setup build environment
|
||||
shell: bash
|
||||
run: |
|
||||
apt update -y
|
||||
apt install -y git curl pkg-config build-essential gnupg
|
||||
|
||||
# Install Rust using rustup to get the latest version
|
||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||||
source ~/.cargo/env
|
||||
. ~/.cargo/env
|
||||
|
||||
# Verify Rust version
|
||||
rustc --version
|
||||
|
|
@ -182,11 +183,12 @@ jobs:
|
|||
cp -r ../debian .
|
||||
|
||||
- name: Build bootc package
|
||||
shell: bash
|
||||
run: |
|
||||
cd bootc-${BOOTC_VERSION}
|
||||
echo "Building bootc package with libostree compatibility patch..."
|
||||
# Source Rust environment for the build
|
||||
source ~/.cargo/env
|
||||
. ~/.cargo/env
|
||||
dpkg-buildpackage -us -uc -b
|
||||
|
||||
- name: List built packages
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue