Closed smorimoto closed 4 years ago
Can you share your whole workflow file? This isn’t a problem with yarn.
This doesn't work.
name: Main workflow
on:
release:
types:
- edited
- published
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
with:
node-version: 14.x
- name: Publish action
uses: JasonEtco/build-and-tag-action@v1
with:
setup: "yarn --frozen-lockfile && yarn build"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
That’s not your whole workflow file. Please share the entire file or I can’t help you.
The problem is probably due to Node.js specific unique behavior due to the lack of yarn subcommands, so I don't think the entire workflow is necessary. Anyway, I updated that.
There's currently a problem with @actions/exec
and multiple commands (using &&
), see #4 and https://github.com/actions/toolkit/issues/461. Still, this sounds like something different - but also not something that this action is doing wrong. I'm going to close this because there's nothing we can do here.
Indeed.