Giter VIP home page Giter VIP logo

install-cli-action's Introduction

1Password CLI - GitHub Action

Install the 1Password CLI to access and manage your 1Password items in your GitHub Action runner.

Get started

✨ Quickstart

To install the latest version of the 1Password CLI:
(Note: latest version is installed by default, so you don't need to specify a version.)

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1

To install the latest beta version (i.e. latest-beta) of the 1Password CLI:

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1
  with:
    version: latest-beta

To install a specific version of the 1Password CLI:

- name: Install 1Password CLI
  uses: 1password/install-cli-action@v1
  with:
    version: 2.18.0

⚙️ Supported Runners

You can perform the action on Linux and macOS runners. Windows is not currently supported.

💙 Community & Support

🔐 Security

1Password requests you practice responsible disclosure if you discover a vulnerability.

Please file requests via BugCrowd.

For information about security practices, please visit our Security homepage.

install-cli-action's People

Contributors

edif2008 avatar ingridcrant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

install-cli-action's Issues

Failed to get version of op CLI: failed to execute command: exec: "op": executable file not found in $PATH

Hello,

We are trying to use "install-cli-action" to install the 1Password cli in GitHub actions. We are using the 1Password Terraform provider to try and load secrets, but it appears that this install is not available to the Terraform provider..

│ Error: failed to get version of op CLI: failed to execute command: exec: "op": executable file not found in $PATH

│ with data.onepassword_item.op_item,
│ on main.tf line 6, in data "onepassword_item" "op_item":
│ 6: data "onepassword_item" "op_item" {

Just wondering if there is anything we need to do to make this install available to Terraform? We are not setting any paths on the Terraform provider, so not sure why it can't find the cli. We did notice the the install script unpacks to a tmp folder and then sets the GITHUB_PATH, but that does not appear to allow the Terraform provider to find the "op" command.

We are probably just missing something simple, but before we try and script the install ourselves, I figured I would ask here for some guidance.

Thank you

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.