From b5f16ae54b21667e3af8a1bd015ec069c8237674 Mon Sep 17 00:00:00 2001 From: "Geoffrey.C" Date: Thu, 3 Mar 2022 16:56:19 +0800 Subject: [PATCH 1/3] feat: switch operating environment to node16 switch operating environment to node16 BREAKING CHANGE: switch operating environment to node16 #92, #96 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index a4af2e90..32b2ee23 100644 --- a/action.yml +++ b/action.yml @@ -44,5 +44,5 @@ outputs: last_release_version: description: 'Version of the previous release, if there was one.' runs: - using: 'node12' + using: 'node16' main: 'index.js' From 96f343602216772e8b537a65c69eb4a7acd7645c Mon Sep 17 00:00:00 2001 From: "Geoffrey.C" Date: Thu, 3 Mar 2022 18:36:24 +0800 Subject: [PATCH 2/3] ci: release with the latest action release with the latest action --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2882385b..693067ad 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: ./ id: semantic with: extra_plugins: | @@ -34,7 +34,7 @@ jobs: - name: Setup Node.js with GitHub Package Registry uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 registry-url: 'https://npm.pkg.github.com' scope: 'cycjimmy' From 9e18bbac09a6c2331719dca00dd978a98f233fab Mon Sep 17 00:00:00 2001 From: "Geoffrey.C" Date: Thu, 3 Mar 2022 19:02:03 +0800 Subject: [PATCH 3/3] docs(readme): specify cycjimmy/semantic-release-action version as v3 specify cycjimmy/semantic-release-action version as v3 --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 284ecbd9..efd418a6 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -61,7 +61,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: semantic_version: 15.13.28 # It is recommended to specify specifying version range # for semantic-release. @@ -80,7 +80,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: semantic_version: 16 # you can set branches for semantic-release above v16. @@ -126,7 +126,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: semantic_version: 15.13.28 # you can set branch for semantic-release older than v16. @@ -151,7 +151,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: # You can specify specifying version range for the extra plugins if you prefer. extra_plugins: | @@ -181,7 +181,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: dry_run: true env: @@ -197,7 +197,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: # You can extend an existing shareable configuration. extends: | @@ -215,7 +215,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 with: # You can select another working directory like a subdirectory for example. working_directory: ./code @@ -242,7 +242,7 @@ steps: - name: Checkout uses: actions/checkout@v3 - name: Semantic Release - uses: cycjimmy/semantic-release-action@v2 + uses: cycjimmy/semantic-release-action@v3 id: semantic # Need an `id` for output variables env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}