Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Create fosslight.yaml #74

Create fosslight.yaml

Create fosslight.yaml #74

Workflow file for this run

name: Java CI
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
permissions:
contents: 'read'
id-token: 'write'
name: Build
runs-on: ubuntu-latest
steps:
- name: 'checkout'
uses: actions/checkout@v3
- name: 'gcloud'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_CREDENTIALS }}'
- name: 'graalvm setup'
uses: graalvm/setup-graalvm@v1
with:
version: 'latest'
java-version: '17'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: 'build & deploy'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -B package org.sonarsource.scanner.maven:sonar-maven-plugin:sonar appengine:deploy