Skip to content

Commit

Permalink
Add v2 info to readme since now master uses v3
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideViolante authored Feb 3, 2022
1 parent aed3cb1 commit ce78388
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Welcome, and thanks in advance for your help!

## Usage

An example workflow to deploy a project with serverless:
An example workflow to deploy a project with serverless v3:


```yaml
Expand All @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -49,6 +49,8 @@ jobs:
## Serverless v1.x
Change `serverless/github-action@master` to `serverless/github-action@v1`

## Serverless v2.x
Change `serverless/github-action@master` to `serverless/github-action@v2`

## Usage with plugins
See example in [this issue](https://github.com/serverless/github-action/issues/28)
Expand Down

0 comments on commit ce78388

Please sign in to comment.