From 5ef6f1db2ac9f74bba2cb2a4fdde46c7a109fde4 Mon Sep 17 00:00:00 2001 From: Kengo TODA Date: Thu, 13 Oct 2022 11:19:08 +0800 Subject: [PATCH] fix: broken release process (#172) * ci: bump up actions Signed-off-by: Kengo TODA * build: bump up nodejs version Signed-off-by: Kengo TODA * docs: update version used in the README Signed-off-by: Kengo TODA Signed-off-by: Kengo TODA --- .github/workflows/build.yml | 11 ++++------- .nvmrc | 2 +- README.md | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65146a5..75610a0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,14 +17,11 @@ jobs: cond: ${{ github.event_name == 'pull_request_target' }} if_true: refs/pull/${{ github.event.pull_request.number }}/merge if_false: ${{ github.ref }} - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 0 ref: ${{ steps.condval.outputs.value }} - - name: Read .nvmrc - run: echo "##[set-output name=NVMRC;]$(cat .nvmrc)" - id: nvm - - uses: actions/setup-java@v2 + - uses: actions/setup-java@v3 with: java-version: 8 distribution: temurin @@ -33,9 +30,9 @@ jobs: server-password: MAVEN_CENTRAL_TOKEN gpg-private-key: ${{ secrets.SIGNING_KEY }} gpg-passphrase: MAVEN_GPG_PASSPHRASE - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v3 with: - node-version: '${{ steps.nvm.outputs.NVMRC }}' + node-version-file: '.nvmrc' - run: | ./mvnw -V -B verify npm ci diff --git a/.nvmrc b/.nvmrc index 8351c19..b6a7d89 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -14 +16 diff --git a/README.md b/README.md index 9edb065..f5c0697 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ $ mvn archetype:generate \ -DarchetypeArtifactId=spotbugs-archetype \ -DarchetypeGroupId=com.github.spotbugs \ - -DarchetypeVersion=0.2.5 + -DarchetypeVersion=0.2.6 ``` ## License