Skip to content

Commit a2eef6b

Browse files
committed
update github action cache to v3
1 parent 919191d commit a2eef6b

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

.github/actions/setup-vuu-ui/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Setup Vuu UI
22
description: "Installs NodeJS and project dependencies"
33

44
runs:
5-
using: 'composite'
5+
using: "composite"
66
steps:
77
- name: Install NodeJS
88
uses: actions/setup-node@v3
99
with:
1010
node-version: "18"
1111
- name: Cache dependencies
12-
uses: actions/cache@v2
12+
uses: actions/cache@v3
1313
with:
1414
path: ~/.npm
1515
key: npm-${{ hashFiles('package-lock.json') }}

.github/workflows/release-mvn-central.yml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,28 +14,27 @@ on:
1414

1515
jobs:
1616
build:
17-
1817
runs-on: ubuntu-latest
1918

2019
steps:
2120
- name: Checkout Master
2221
uses: actions/checkout@v1
23-
# with:
24-
# path: master
22+
# with:
23+
# path: master
2524
- name: Switch to master
2625
run: git switch -c release-${{ github.event.inputs.releaseVersion }}
2726
- uses: actions/setup-node@v1
2827
with:
2928
node-version: "18.x"
3029
- name: Configure Git User
3130
run: |
32-
git config user.email "actions@github.com"
33-
git config user.name "GitHub Actions"
31+
git config user.email "actions@github.com"
32+
git config user.name "GitHub Actions"
3433
- name: Set up JDK 1.17
3534
uses: actions/setup-java@v1
3635
with:
3736
java-version: 1.17
38-
- uses: actions/cache@v1
37+
- uses: actions/cache@v3
3938
with:
4039
path: ~/.m2/repository
4140
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
@@ -48,14 +47,14 @@ jobs:
4847
ssh-host: github.com
4948
- id: install-gpg-cert
5049
name: Install GPG secret key
51-
run: |
52-
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --yes --always-trust --import
53-
# env:
54-
# GPG_TTY: $(tty)
50+
run: |
51+
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --yes --always-trust --import
52+
# env:
53+
# GPG_TTY: $(tty)
5554
- name: Build with Maven
5655
run: mvn --no-transfer-progress release:prepare release:perform -P sign-it -Dsign=true -Darguments=-Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE -Dgpg.passphrase=$MAVEN_GPG_PASSPHRASE -s .settings/settings.xml -DreleaseVersion=${{ github.event.inputs.releaseVersion }} -DdevelopmentVersion=${{ github.event.inputs.developmentVersion }}
5756
env:
58-
# GPG_TTY: $(tty)
57+
# GPG_TTY: $(tty)
5958
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
6059
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
6160
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHASE }}

0 commit comments

Comments
 (0)