Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

100 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fast cargo install action

NOTE: This is a fork of https://github.com/dtolnay/install to include packages needed by Stackable

This GitHub Action installs a Rust crate using precompiled signed binaries built on GitHub and hosted as GitHub release artifacts.

Example workflow

name: test suite
on: [push, pull_request]

jobs:
  expand:
    name: cargo udeps
    runs-on: ubuntu-latest
    steps:
      - uses: stackabletech/install@master
        with:
          crate: cargo-expand
      - run: cargo expand --help

Inputs

Name Required Description
crate Name of crate as published to crates.io
bin Name of binary; default = same as crate name

Development

Getting started

You need a GPG key without a passphrase!

Here's how you can remove a passphrase from an existing key: https://superuser.com/questions/1360324/gpg-remove-passphrase

gpg --output private.gpg --armor --export-secret-key github.com/stackabletech/cargo-install-action

Updating

Unless you're setting up an entirely new branch, work in the main branch. When you make changes you can later run the scripts/rebase.sh script with the name of a branch to update.

For example:

scripts/rebase.sh cargo-udeps

License

The scripts and documentation in this project are released under the MIT License.

About

Fast `cargo install` action using a GitHub-based binary cache

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages