Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use GITHUB_OUTPUT or GITHUB_STEP_SUMMARY #87

Closed
tjcorr opened this issue Oct 12, 2022 · 0 comments · Fixed by #88
Closed

Unable to use GITHUB_OUTPUT or GITHUB_STEP_SUMMARY #87

tjcorr opened this issue Oct 12, 2022 · 0 comments · Fixed by #88
Assignees
Labels
need-to-triage Requires investigation

Comments

@tjcorr
Copy link
Contributor

tjcorr commented Oct 12, 2022

Previously if you wanted to output data from this task you might use:

echo '::set-output name=key::value'

This functionality was recently deprecated per link. The new mechanism is to use environment files. However if you use this functionality currently you will get an error that it can't find the file:

/_temp/AZ_CLI_GITHUB_ACTION_1665589813118.sh: line 10: /home/runner/work/_temp/_runner_file_commands/set_output_93294b01-dcab-4b3d-979e-1411fcc565cf: No such file or directory

It looks like this is a result of how we are mapping in the temporary directory. Not all of the GITHUB environment variables are getting re-mapped to the different path.

@tjcorr tjcorr added the need-to-triage Requires investigation label Oct 12, 2022
avaitonis added a commit to UK-Export-Finance/mdm-api that referenced this issue Mar 29, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [Azure/cli](https://togithub.com/Azure/cli) | action | patch | `1.0.4`
-> `v1.0.7` |
| [node](https://togithub.com/nodejs/node) | stage | minor |
`18.9-alpine3.16` -> `18.15-alpine3.16` |

---

### Release Notes

<details>
<summary>Azure/cli</summary>

### [`v1.0.7`](https://togithub.com/Azure/cli/releases/tag/v1.0.7):
GitHub Action for Azure CLI v1.0.7

[Compare Source](https://togithub.com/Azure/cli/compare/v1.0.6...v1.0.7)

-   Upgraded action to use node 16 instead of node 12
- Upgrade [@&#8203;actions/core](https://togithub.com/actions/core) to
^1.10.0
- Resolved other minor issues like
[Azure/cli#87
and
[Azure/cli#84

### [`v1.0.6`](https://togithub.com/Azure/cli/releases/tag/v1.0.6):
GitHub Action for Azure CLI v1.0.6

[Compare Source](https://togithub.com/Azure/cli/compare/v1.0.5...v1.0.6)

Resolved customer issue: `Error: /bin/sh: 1: az: not found in v1.0.5`
[Azure/cli#62

### [`v1.0.5`](https://togithub.com/Azure/cli/releases/tag/v1.0.5):
GitHub Action for Azure CLI v1.0.5

[Compare Source](https://togithub.com/Azure/cli/compare/1.0.4...v1.0.5)

Resolved compatibility issues between az cli version on agent and
container.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/UK-Export-Finance/mdm-api).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4yMi4xIiwidXBkYXRlZEluVmVyIjoiMzUuMjIuMSJ9-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
need-to-triage Requires investigation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants