Skip to content

Downgrade Java 20 to 17 #350

Downgrade Java 20 to 17

Downgrade Java 20 to 17 #350

Workflow file for this run

name: CI
on:
create:
tags:
- v*
push:
branches:
- main
pull_request:
jobs:
pipeline:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Pull all history with tags for correct versionning
run: git fetch --prune --unshallow
- name: Checks
run: |
git config --global user.name "CI"
./mill __.checkStyle + __.test + __.publishLocal
- name: Publish
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v') || github.event_name == 'release'
run: ./mill mill.scalalib.SonatypeCentralPublishModule/
env:
MILL_PGP_SECRET_BASE64: ${{ secrets.PGP_SECRET_KEY }}
MILL_SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
MILL_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}