Fixed shell bash stuff around rust
Some checks failed
Build bootc Package / Build bootc Package (push) Failing after 2m50s
Test Build / Test bootc Build (with existing libostree) (push) Failing after 1m34s

This commit is contained in:
robojerk 2025-07-21 22:03:16 +00:00
parent 781b1c2650
commit 40ca7100f9
2 changed files with 10 additions and 5 deletions

View file

@ -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