Azure / Azure/cli

[bug] Unable to use GitHub action local resources / [feature] Allow mapping custom paths

Aperta
#144 2 commenti 1 reazione 1 assegnatario Rivendicata da @MoChilia Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
168
Fork
80
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

## Description

Due to `azure/cli` action script running in a docker container and only mapping current work directory, it seems clunky to use within custom GitHub actions that define resources (i.e. files in the same root directory as the action), as action resources are downloaded to a different directory (`github.action_path`), outside of current work directory.

## The bug part

If you want to consider this a bug, then I would expect all GitHub standard paths to be mapped inside the container (other than the work directory: `github.action_path` and possibly `github.event_path`, maybe even more, see: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context).

## The feature part

If you want to consider this a feature request, then I would kindly ask for adding an additional input that allows mapping custom local paths to container paths.

## The workaround

To use custom action resources you need to copy them in a separate step to some path in the work directory.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.