-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use install-action to speed up installation of binaries (#146)
Co-authored-by: Marco Ieni <[email protected]>
- Loading branch information
Showing
1 changed file
with
8 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,15 +12,16 @@ inputs: | |
description: "Config file location. If not present, the default 'release-plz.toml' is used." | ||
required: false | ||
manifest_path: | ||
description: "Path to the Cargo.toml of the project you want to update. If not provided, release-plz will use the Cargo.toml of the | ||
root directory. Both Cargo workspaces and single packages are supported." | ||
description: | ||
"Path to the Cargo.toml of the project you want to update. If not provided, release-plz will use the Cargo.toml of the | ||
root directory. Both Cargo workspaces and single packages are supported." | ||
required: false | ||
project_manifest: | ||
description: "Deprecated. Use `manifest_path` instead." | ||
required: false | ||
version: | ||
description: "Release-plz version to use. It must be an existing git tag name. For example `release-plz-v0.2.45`. (Default: `latest`)." | ||
default: "release-plz-v0.3.70" | ||
description: "Release-plz version to use. (Default: `0.3`)." | ||
default: "0.3" | ||
required: false | ||
token: | ||
description: "Token used to publish to the cargo registry" | ||
|
@@ -49,18 +50,10 @@ branding: | |
runs: | ||
using: "composite" | ||
steps: | ||
- name: Install cargo-semver-checks | ||
uses: jaxxstorm/action-install-[email protected] | ||
- name: Install binaries | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
repo: obi1kenobi/cargo-semver-checks | ||
tag: v0.31.0 | ||
cache: enable | ||
- name: Install release-plz | ||
uses: jaxxstorm/[email protected] | ||
with: | ||
repo: MarcoIeni/release-plz | ||
tag: ${{ inputs.version }} | ||
cache: enable | ||
tool: [email protected], release-plz@${{ inputs.version }} | ||
- name: Configure git user from GitHub token | ||
uses: MarcoIeni/[email protected] | ||
- name: Run release-plz | ||
|