Open miguelcobain opened 4 years ago
Hi,
The error is weird 🤔
The main
field is supported but it seems to make the action fail.
Maybe the YAML I wrote is not fully compatible with Github's YAML parser?
But I don't really see what's wrong with it:
If I had to guess, perhaps it's something to do with the env
variable? Looking at the docs, it seems that it isn't supported, which leads me to believe it may be conflicting with the main
variable. (I'd try to require that .pnp.js
file not through the command line, it seems like an odd way to go about it.)
FWIW, I was not able to fix this action either, the .pnp.js
would fail to execute for me. I ended up with a few simple lines of bash:
update-branch:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- shell: bash
run: |
git config --global user.name "GitHub Actions"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git branch -f latest
git push -f origin latest
Maybe we really don't need a separate action for a task of that complexity?
Hi. 👋
I was trying to use this action on our project, but the action fails with the following log:
Do you know what might be happening?