Skip to content

Commit

Permalink
binstall to speed up workflow and configure git for creating release …
Browse files Browse the repository at this point in the history
…tags
  • Loading branch information
Adam McKee committed Jan 2, 2025
1 parent 2d80148 commit 87374b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 17 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/gh_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,15 @@ jobs:
- uses: actions/checkout@v4
- run: rustup install stable
- uses: swatinem/rust-cache@v2
- run: cargo install cargo-release
- run: cargo release --no-confirm -x patch
- name: install cargo release
run: |
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash
cargo binstall --no-confirm cargo-release
- name: cargo release
run: |
git config --global user.name "Adam McKee"
git config --global user.email "[email protected]"
cargo release --no-confirm -x patch
- id: version
run: |
VERSION=$(awk -F ' = ' '$1 ~ /version/ { gsub(/[\"]/, "", $2); printf("%s",$2) }' l3_cli/Cargo.toml)
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/install_cargo_release.yml

This file was deleted.

0 comments on commit 87374b4

Please sign in to comment.