fix(ci/cd): release build workflow failing due to result output in wrong dir

This commit is contained in:
Suyog Tandel
2026-02-19 10:52:20 +05:30
parent 2a4bf63050
commit 127931d006
3 changed files with 7 additions and 9 deletions
+5 -7
View File
@@ -90,12 +90,12 @@ jobs:
- name: install cargo-packager
run: cargo install cargo-packager --locked
- name: Build and Package (Linux)
if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-24.04-arm'
run: cargo packager --release --formats deb,pacman
# - name: Build and Package (Linux)
# if: matrix.platform == 'ubuntu-22.04' || matrix.platform == 'ubuntu-24.04-arm'
# run: cargo packager --release --formats deb,pacman
- name: Build and Package (Others)
if: matrix.platform != 'ubuntu-22.04' && matrix.platform != 'ubuntu-24.04-arm'
- name: Build and Package
# if: matrix.platform != 'ubuntu-22.04' && matrix.platform != 'ubuntu-24.04-arm'
run: cargo packager --release ${{ matrix.args }}
- name: Upload Release Assets
@@ -111,9 +111,7 @@ jobs:
prerelease: false
files: |
target/release/*.deb
target/release/*.pkg.tar.zst
target/release/*.tar.gz
target/release/PKGBUILD
target/release/*.msi
target/release/*.exe
target/release/*.dmg
+1 -1
View File
@@ -45,4 +45,4 @@ opt-level = 3 # Prioritizes speed. Use `z` if you prefer small binary size.
strip = true # Ensures debug symbols are removed.
[package.metadata.packager]
before-packaging-command = "cargo build --release"
# before-packaging-command = "cargo build --release"
+1 -1
View File
@@ -28,7 +28,7 @@ icons = [
"./static/appIcons/StoreLogo.png",
]
beforePackagingCommand = "cargo build --release"
# beforePackagingCommand = "cargo build --release"
binaries = [{ main = true, name = "picoforge" }]
# outDir = "packaging/cargoPackager"