Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 19 additions & 1 deletion .github/workflows/manual-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,26 @@ jobs:
git config --global init.defaultBranch main
git config --global push.autoSetupRemote true

- name: Cache cargo registry and tools
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
key: ${{ runner.os }}-cargo-tools-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
${{ runner.os }}-cargo-tools-

- name: Install cargo-release
run: cargo install cargo-release
run: |
if ! command -v cargo-release &> /dev/null; then
echo "Installing cargo-release..."
cargo install cargo-release
else
echo "cargo-release already installed"
fi

- name: Dry Run Release
if: inputs.dry_run
Expand Down
Loading