mirror of
https://github.com/librekeys/picoforge.git
synced 2026-07-28 08:01:19 -07:00
fix(ci/cd): release build workflow failing due to result output in wrong dir
This commit is contained in:
@@ -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
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user