From d3c829c078a9ea223d81b4090f9b87db11a5c385 Mon Sep 17 00:00:00 2001 From: Alessio Perugini Date: Thu, 25 Jan 2024 18:56:01 +0100 Subject: [PATCH] update all references of v2 to v3 --- README.md | 12 ++++++------ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 604b6088..e384a57e 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ This action makes the `protoc` compiler available to Workflows. -## Upgrade to v2 +## Upgrade from v1 to v2 or v3 Added support **only** for the new protobuf tag naming convention `MINOR.PATCH`. @@ -24,14 +24,14 @@ To get the latest stable version of `protoc` just add this step: ```yaml - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 ``` If you want to pin a major or minor version you can use the `.x` wildcard: ```yaml - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 with: version: "23.x" ``` @@ -40,7 +40,7 @@ You can also require to include releases marked as `pre-release` in Github using ```yaml - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 with: version: "23.x" include-pre-releases: true @@ -50,7 +50,7 @@ To pin the exact version: ```yaml - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 with: version: "23.2" ``` @@ -60,7 +60,7 @@ pass the default token with the `repo-token` variable: ```yaml - name: Install Protoc - uses: arduino/setup-protoc@v2 + uses: arduino/setup-protoc@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} ``` diff --git a/package-lock.json b/package-lock.json index 7c547e61..0d8edea3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "setup-protoc-action", - "version": "2.0.0", + "version": "3.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "setup-protoc-action", - "version": "2.0.0", + "version": "3.0.0", "license": "MIT", "dependencies": { "@actions/core": "^1.10.1", diff --git a/package.json b/package.json index 3c4673cb..194b7776 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "setup-protoc-action", - "version": "2.0.0", + "version": "3.0.0", "private": true, "description": "Setup protoc action", "main": "lib/main.js",