Closed gumaerc closed 2 years ago
Hi @gumaerc - Thanks for providing the details and I'm sorry for the trouble. We just released a major version of this GitHub Action with breaking changes. See release notes in v6.0.0.
We rarely introduce breaking changes, but I would still recommend pinning your versions so that you aren't impacted by breaking changes. Example below.
- foo-software/lighthouse-check-action@master
+ foo-software/lighthouse-check-action@v5
Or...
- foo-software/lighthouse-check-action@master
+ foo-software/lighthouse-check-action@v5.1.2
To fix this, you could do the above, or to use our newest major version, I believe you just need to do the below:
- - run: mkdir /tmp/artifacts
+ - run: mkdir ${{ github.workspace }}/tmp/artifacts
# ...
- outputDirectory: /tmp/artifacts
+ outputDirectory: ${{ github.workspace }}/tmp/artifacts
I hope this addresses your issue, feel free to let me know.
Actually v5 seems not to be a valid tag and throws an error Unable to resolve action 'foo-software/lighthouse-check-action@v5', unable to find version 'v5'
. But foo-software/lighthouse-check-action@v5.1.2
works as expected 👍
Thanks @dlehmhus. Well that's unfortunate. Most systems package management systems like NPM, Docker, etc are smart enough to find the latest major version using that syntax, but I guess with GitHub Actions... not so much :( Can't say I'm that surprised.
I'm deeming this issue closed, but please feel free to let me know if your issue is not resolved @gumaerc and we can re-open.
@adamhenson Thanks for the reply, I'll work on implementing the changes you mentioned!
Hi there. We've suddenly started encountering errors on our actions, and I was wondering if this might be an issue with the action itself. This is how our action step is configured:
They are all erroring out with the following stack trace:
You can see that it gets past the first step of "auditing mobile" and then the error happens.