Closed epsilonlambda closed 4 years ago
Thanks, https://github.com/serverless/github-action/commit/c94a5fdf2236df60af9f01404deca85121eabcf0 Let me know if it works now.
I'm just going to point out that while you did fix his issue, now the action is only downloading version 1.82, so all of us with "frameworkVersion" (2) are now getting the same error he was lol.
I think that the master branch (as opposed to commits tagged with version tags) should not have a version on that line (RUN npm i -g serverless
)
EDIT: Actually, I've realized this makes little sense. I'd just advise to merge #41, to master and tag it with v2.1.0.
We were running into the problem last night and eventually just had to stop using this action and have our ci/cd install serverless manually. I'm not super familiar with how to set up these actions, but I see someone has a PR ready to merge that bumps this action's serverless version up to 2.1.0, which will just give @epsilonlambda problems again if he stays with "frameworkVersion" (1)
The PR wouldn't break my build, because I'm using a tag, not the master branch version of the action.
My mistake then, apologies. Must be something else on our end.
@RaevLogic, my point is that if the PR is merged, it should fix your build, and it wouldn't break mine
Ever since the new serverless release v2 is out (https://github.com/serverless/serverless/releases/tag/v2.0.0), I've been unable to deploy my v1 project with github-action v1.82.0.
Failing step from my GitHub Actions pipeline:
Output from the serverless deploy step:
Framework version from my serverless.yml:
I am suspecting that the following line in v1.82.0 (https://github.com/serverless/github-action/blob/v1.82.0/Dockerfile#L14):
should have been
Is this a bug, or is the latest tag for serverless/github-action actually designed to pull the latest version for some reason?
EDIT: Added output from the failing pipeline step.