Skip to content

Update Microsoft

Update Microsoft #311

name: Update Microsoft
on:
schedule:
- cron: 0 15 * * 1-5
workflow_dispatch:
jobs:
run:
name: "Run Java Migration for Microsoft"
strategy:
fail-fast: false
matrix:
java-version: [ 11, 17 ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'maven'
- name: Run microsoft
run: ./mvnw spring-boot:run -Dspring-boot.run.arguments="--foojay.java.distribution=microsoft --foojay.distribution.version=${{ matrix.java-version }} --foojay.java.release-status=ga"
env:
SDKMAN_RELEASE_CONSUMER_KEY: ${{ secrets.CONSUMER_KEY }}
SDKMAN_RELEASE_CONSUMER_TOKEN: ${{ secrets.CONSUMER_TOKEN }}