Skip to content

Commit

Permalink
Github workflows: stash deb path in tmp to avoid dirty tree error on …
Browse files Browse the repository at this point in the history
…cargo upload
  • Loading branch information
nuxeh committed Dec 19, 2022
1 parent 1fed669 commit 455beb2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ jobs:
id: build_deb
run: |
cargo install cargo-deb
cargo deb | tee deb_out_path # get deb path from output of `cargo deb`
echo "path=$(cat deb_out_path)" >> $GITHUB_OUTPUT # provide deb output path as output
cargo deb | tee /tmp/deb_out_path # get deb path from output of `cargo deb`
echo "path=$(cat /tmp/deb_out_path)" >> $GITHUB_OUTPUT # provide deb output path as output
- name: Create Github release
id: make_release
Expand Down

0 comments on commit 455beb2

Please sign in to comment.