Skip to content

Commit

Permalink
Add the prepare and check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalijr2 committed Mar 2, 2025
1 parent 5c16df4 commit 9e53044
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/check-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: "Check release"

on:
push:
tags:
- v*

permissions: read-all

jobs:
build:
name: Maven build
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Java JDK
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '11'
- name: Build with Maven
env:
SIGN_KEY: ${{ secrets.SIGN_KEY }}
SIGN_KEY_PASS: ${{ secrets.SIGN_KEY_PASS }}
run: |
./mvnw --batch-mode -s .mvn/ci_settings.xml -ntp -DskipTests -DskipPublishing -Prelease
./mvnw license:check-file-header -Dlicense.failOnMissingHeader=true -Pprepare-and-check

0 comments on commit 9e53044

Please sign in to comment.