Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/actions/setup-vuu-ui/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Setup Vuu UI
description: "Installs NodeJS and project dependencies"

runs:
using: 'composite'
using: "composite"
steps:
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Cache dependencies
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.17
- uses: actions/cache@v1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B test --file pom.xml
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.17
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Build with Maven
run: mvn -B test --file pom.xml
21 changes: 10 additions & 11 deletions .github/workflows/release-mvn-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,28 +14,27 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- name: Checkout Master
uses: actions/checkout@v1
# with:
# path: master
# with:
# path: master
- name: Switch to master
run: git switch -c release-${{ github.event.inputs.releaseVersion }}
- uses: actions/setup-node@v1
with:
node-version: "18.x"
- name: Configure Git User
run: |
git config user.email "[email protected]"
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git config user.name "GitHub Actions"
- name: Set up JDK 1.17
uses: actions/setup-java@v1
with:
java-version: 1.17
- uses: actions/cache@v1
- uses: actions/cache@v3
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand All @@ -48,14 +47,14 @@ jobs:
ssh-host: github.com
- id: install-gpg-cert
name: Install GPG secret key
run: |
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --yes --always-trust --import
# env:
# GPG_TTY: $(tty)
run: |
cat <(echo -e "${{ secrets.GPG_PRIVATE_KEY }}") | gpg --batch --yes --always-trust --import
# env:
# GPG_TTY: $(tty)
- name: Build with Maven
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 }}
env:
# GPG_TTY: $(tty)
# GPG_TTY: $(tty)
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}
MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHASE }}
Expand Down
Loading
Loading