Skip to content

Build - New JDK

Build - New JDK #89

Workflow file for this run

name: Build - New JDK
on:
push:
branches:
- 'master'
- 'main'
tags:
- 'v*'
workflow_dispatch:
schedule:
- cron: '55 5 * * 5'
jobs:
build-21:
name: build 21
uses: s4u/.github/.github/workflows/maven-build.yml@master

Check failure on line 20 in .github/workflows/build-new-jdk.yml

View workflow run for this annotation

GitHub Actions / Build - New JDK

Invalid workflow file

The workflow is not valid. .github/workflows/build-new-jdk.yml (Line: 20, Col: 11): Secret MAVEN_GPG_KEY is required, but not provided while calling. .github/workflows/build-new-jdk.yml (Line: 20, Col: 11): Secret MAVEN_GPG_PASSPHRASE is required, but not provided while calling.
with:
java-matrix: '["21"]'
java-dist-matrix: '["zulu", "temurin", "liberica", "microsoft", "corretto", "semeru"]'
secrets:
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
OSS_USER: ${{ secrets.OSS_USER }}
OSS_PASS: ${{ secrets.OSS_PASS }}
TECH_TOKEN: ${{ secrets.TECH_TOKEN }}
build-22:
needs: [ build-21 ]
name: build 22
uses: s4u/.github/.github/workflows/maven-build.yml@master
with:
java-matrix: '["22-ea"]'
java-dist-matrix: '["zulu", "temurin", "liberica", "microsoft", "corretto", "semeru"]'
secrets:
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
OSS_USER: ${{ secrets.OSS_USER }}
OSS_PASS: ${{ secrets.OSS_PASS }}
TECH_TOKEN: ${{ secrets.TECH_TOKEN }}
verify-ok:
name: OK
needs: [ build-21, build-22 ]
if: always()
runs-on: ubuntu-latest
steps:
- run: 'true'
if: needs.build.result == 'success'
- run: 'false'
if: needs.build.result != 'success'