hashicorp / hashicorp/setup-packer

action fails if packer already exists on the machine

Open
#114 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
HCL
Stars
165
Forks
88
PR merge metrics
No merged PRs in 30d

Description

If the setup-packer action is run and the agent already has packer installed, the step fails without providing any useful context.

# Expected Behavior

I would expect the step to detect that the end result of the action has been acheived (i.e. the requested packer version is present on the agent) and the step succeeds

## Current Behavior

```
Run hashicorp/setup-packer@v3
Installing packer:1.11.1 and adding it to GitHub Actions Path

## Steps to Reproduce

1. Create a github action that targets a runner with Packer installed
1. Call the setup-packer@v2 action
1. Execute your action

## Environment

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.