You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After (automatically) upgrading to 1.6.0 our workflows started breaking today.
We have a job that first reads environment data from a JSON file, which we later use in our azure/login action. This no longer works with 1.6.0 because it uses a pre: step.
- id: settingsname: Read settingsuses: ActionsTools/read-json-action@mainwith:
file_path: settings.json
- name: Log in to Azure using OIDCuses: azure/login@v1with:
tenant-id: ${{ fromJSON(steps.settings.outputs.environments).dev.tenant_id }}client-id: ${{ fromJSON(steps.settings.outputs.environments).dev.ci_spn_client_id }}allow-no-subscriptions: true
As a temporary workaround we now pin the action to the latest 1.5.
In my opinion this change could have warranted a major version bump.
The text was updated successfully, but these errors were encountered:
Hi @mhulscher,
Before using an evaluation expression, kindly verify the existence of its input. In your case, we should first check if steps.settings.outputs.environments exists, like
This precaution can help prevent potential issues in case the previous step fails. See actions/runner#1722 (comment).
MoChilia
added
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
and removed
bug
Something isn't working
labels
Jan 17, 2024
After (automatically) upgrading to 1.6.0 our workflows started breaking today.
We have a job that first reads environment data from a JSON file, which we later use in our
azure/login
action. This no longer works with 1.6.0 because it uses apre:
step.As a temporary workaround we now pin the action to the latest 1.5.
In my opinion this change could have warranted a major version bump.
The text was updated successfully, but these errors were encountered: