Skip to content

Commit

Permalink
fix(workflow): rename debian package to a concrete value
Browse files Browse the repository at this point in the history
Define specific path to amber debian package so it's easier to debug.
  • Loading branch information
Ph0enixKM authored Nov 11, 2024
1 parent 28d5fd9 commit 4c43f27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Cargo Deb
run: |
cargo install cargo-deb
cargo deb --output="./target/distrib"
cargo deb --output="./target/distrib/amber-amd64.deb"
- name: Compile installer/uninstaller
run: |
TARGET_TRIPLE="$(rustc -Vv | awk '/^host/ { print $2 }')"
Expand All @@ -186,7 +186,6 @@ jobs:
AMBER="$PWD/target/amber-${TARGET_TRIPLE}/amber"
$AMBER ./setup/install.ab ./target/distrib/install.sh
$AMBER ./setup/uninstall.ab ./target/distrib/uninstall.sh
echo "AMBER_VERSION=$($PWD/target/amber-${TARGET_TRIPLE}/amber --version)" >> $GITHUB_ENV
- id: cargo-dist
shell: bash
run: |
Expand All @@ -196,7 +195,7 @@ jobs:
# Parse out what we just built and upload it to scratch storage
echo "paths<<EOF" >> "$GITHUB_OUTPUT"
jq --raw-output ".upload_files[]" dist-manifest.json >> "$GITHUB_OUTPUT"
echo "$PWD/target/distrib/amber_${{env.AMBER_VERSION}}-1_amd64.deb" >> "$GITHUB_OUTPUT"
echo "$PWD/target/distrib/amber-amd64.deb" >> "$GITHUB_OUTPUT"
echo "$PWD/target/distrib/install.sh" >> "$GITHUB_OUTPUT"
echo "$PWD/target/distrib/uninstall.sh" >> "$GITHUB_OUTPUT"
echo "EOF" >> "$GITHUB_OUTPUT"
Expand Down

0 comments on commit 4c43f27

Please sign in to comment.