-
Notifications
You must be signed in to change notification settings - Fork 739
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
Provide a workflow command to upload an artifact so we can upload artifacts inside other actions #105
Comments
If you want to upload artifacts in other actions, you can use the This action is effectively just a wrapper for the package. The core upload logic alongside all the necessary API calls are all taken care of inside there. This package was created specifically so that action authors could more easily work with artifacts. In terms of adding a command, we do not plan on adding support for that. |
We are trying to write actions in PowerShell. Calling back into node is painful. Would that even work? |
You can call the node package in a shell script using something like this. I do not recommend this hack in any way 😄 There is however a problem though because certain env variables are only available in the node context (the context is this thing when you author actions). We get around this by running a local action here (another hack just so we could get some CI working). So if you're dealing with pure powershell, it most likely will not work. Some more info here. We have a feature on the horizon though might be able to help you out: actions/runner#438 |
The composable actions seems like a better option |
Composite actions have shipped! https://github.blog/changelog/2020-08-07-github-actions-composite-run-steps/ Going to close out this issue now |
I don't see one in the list here:
https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions
The text was updated successfully, but these errors were encountered: