Skip to content

🩹 Minor Fixes to (S)CSS #458

🩹 Minor Fixes to (S)CSS

🩹 Minor Fixes to (S)CSS #458

Workflow file for this run

name: Java CI with Maven
on:
push:
branches:
- main
paths:
- .github/workflows/maven.yml
- .github/project.yml
- "**.xml"
- "*.yml"
- "src/**"
- "ide-config"
pull_request:
paths:
- "**.xml"
- "src/**"
- "ide-config"
env:
JAVA_VERSION: 17
GRAALVM_VERSION: 22.3.2
JAVA_DISTRO: temurin
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up JDK ${{ env.JAVA_VERSION }}
uses: actions/setup-java@v3
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: ${{ env.JAVA_DISTRO }}
cache: maven
- name: Build with Maven
id: mvn-build
run: ./mvnw -B -ntp formatter:validate verify
native-build:
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v3
- uses: graalvm/setup-graalvm@v1
with:
version: ${{ env.GRAALVM_VERSION }}
java-version: ${{ env.JAVA_VERSION }}
components: "native-image"
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build and run in native mode
id: mvn-native-build
env:
MAVEN_OPTS: "-Xmx1g"
run: |
./mvnw -B -ntp verify -Dnative -DskipTests -DskipFormat
update-snapshot:
if: github.ref == 'refs/heads/main'
needs: build
uses: ./.github/workflows/antifreeze.yml
with:
update-snapshot-tag: true
secrets: inherit