Skip to content

Validate jar and fail if it was built with Loom 1.5 or later. (#988) #406

Validate jar and fail if it was built with Loom 1.5 or later. (#988)

Validate jar and fail if it was built with Loom 1.5 or later. (#988) #406

Workflow file for this run

name: Publish
on:
push:
branches:
- 'dev/**'
jobs:
build:
runs-on: ubuntu-22.04
container:
image: eclipse-temurin:17-jdk
options: --user root
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
# Generate the build number based on tags to allow per branch build numbers, not something github provides by default.
- name: Generate build number
id: buildnumber
uses: onyxmueller/build-tag-number@v1
with:
token: ${{ secrets.github_token }}
prefix: "build/${{ github.ref }}"
- run: ./gradlew build publish -x test --stacktrace
env:
MAVEN_URL: ${{ secrets.MAVEN_URL }}
MAVEN_USERNAME: ${{ secrets.MAVEN_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}