Closed
Description
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:
- name: serverless deploy
uses: serverless/[email protected]
with:
args: deploy
Output from the serverless deploy step:
Serverless Error ---------------------------------------
The Serverless version (2.0.0) does not satisfy the "frameworkVersion" (1) in serverless.yml
Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com
Your Environment Information ---------------------------
Operating System: linux
Node Version: 12.18.3
Framework Version: 2.0.0
Plugin Version: 4.0.2
SDK Version: 2.3.1
Components Version: 3.1.2
Framework version from my serverless.yml:
frameworkVersion: '1'
I am suspecting that the following line in v1.82.0 (https://github.com/serverless/github-action/blob/v1.82.0/Dockerfile#L14):
RUN npm i -g serverless
should have been
RUN npm i -g [email protected]
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.