3030 fail-fast : false
3131 matrix :
3232 include :
33- - name : Notification
34- package : mechanix-notification
3533 - name : Launcher
36- package : mechanix-launcher
37- - name : Keyboard
38- package : mechanix-keyboard
34+ package : launcher
35+
3936
4037 runs-on : ubicloud-standard-2-arm
4138 environment : pre-release
@@ -44,10 +41,10 @@ jobs:
4441 - name : Setup | Checkout
4542 uses : actions/checkout@v4
4643
47- - name : Install Rust 1.86.0
44+ - name : Install Rust 1.91.1
4845 uses : dtolnay/rust-toolchain@master
4946 with :
50- toolchain : 1.86.0
47+ toolchain : 1.91.1
5148
5249 - name : Install cargo-deb
5350 run : cargo install cargo-deb
7976 curl \
8077 librust-alsa-sys-dev \
8178 libpulse-dev \
82- libasound2-dev
79+ libasound2-dev \
80+ libxkbfile-dev \
81+ libxkbcommon-x11-dev \
82+ wayland-protocols \
83+ libxkbcommon-tools \
8384
8485 # Pulp CLI setup
8586 - name : Setup | Pulp CLI
@@ -147,21 +148,30 @@ jobs:
147148 - name : Publish to Pulp [${{ matrix.package }}]
148149 run : |
149150 set -euo pipefail
150- DEB_FILE=$(ls target/debian/${{ matrix.package }}_*.deb | head -n1)
151- echo "[INFO] Uploading: $DEB_FILE"
151+
152+ DEB_FILE=$(find ./build/deb -name "${{ matrix.package }}*.deb" -type f | head -n1)
153+
154+ if [ -z "$DEB_FILE" ]; then
155+ echo "[ERROR] No .deb file found for ${{ matrix.package }}"
156+ exit 1
157+ fi
158+
159+ echo "[INFO] 📦 Publishing: $DEB_FILE"
160+
152161 pulp deb content upload \
153162 --repository="${{ vars.MECHA_PULP_DEBS_REPOSITORY_NAME }}" \
154163 --file="$DEB_FILE"
155-
164+
156165 echo "[INFO] Creating publication..."
157166 PUB_HREF=$(pulp deb publication create \
158167 --repository="${{ vars.MECHA_PULP_DEBS_REPOSITORY_NAME }}" \
168+ --signing-service=mecha-pkg-sign \
159169 | jq -r '.pulp_href')
160-
170+
161171 echo "[INFO] Updating distribution..."
162172 pulp deb distribution update \
163173 --name="${{ vars.MECHA_PULP_DEBS_REPOSITORY_NAME }}" \
164174 --base-path="${{ vars.MECHA_PULP_DEBS_REPOSITORY_NAME }}" \
165175 --repository="${{ vars.MECHA_PULP_DEBS_REPOSITORY_NAME }}"
166-
167- echo "[INFO] ✅ Package ${{ matrix.package }} published. "
176+
177+ echo "[INFO] ✅ Package ${{ matrix.package }} published successfully! "
0 commit comments