Debug GitHub Actions issue
Closed this issue · 2 comments
I've been working on #1275, and haven't been able to get the added script in actions/zerocopy_toolchain_version/action.yml
to produce output usable by workflows/ci.yml
. In particular, ${{ steps.toolchain.outputs.toolchain }}
always interpolates to an empty string.
I'd love it if someone with more GitHub Actions experience could take a look and see if they can figure out what's going wrong!
Edit: Happy to take over your branch as well and create a new PR.
It looks like adding the following here seems to do the trick:
outputs:
toolchain:
description: 'Resolved toolchain version'
value: ${{ steps.resolve.outputs.toolchain }}
I followed the example from the doc.
Test run on my fork.
Note: I didn't see this as a GitHub issue, so wanted to flag the target
clean up errors in this test run.
Originally, I thought I introduced these with the code change, but the errors appear in the official test runs as well. Example. It appears to be an issue with the action Swatinem/rust-cache
, but haven't look into it further.