Skip to content

Bump actions/checkout from 3 to 4 #70

Bump actions/checkout from 3 to 4

Bump actions/checkout from 3 to 4 #70

Workflow file for this run

name: CI
on:
push:
branches:
- master
tags:
- "v*"
pull_request:
jobs:
test:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: 8
- name: Compile
run: ./mill -i __.test.compile
- name: Test
run: ./mill -i __.test
- name: Publish local
run: ./mill -i __.publishLocal
publish:
needs: test
if: github.event_name == 'push'
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- uses: coursier/cache-action@v6
- uses: coursier/setup-action@v1
with:
jvm: 8
- run: .github/scripts/gpg-setup.sh
shell: bash
env:
PGP_SECRET: ${{ secrets.PGP_SECRET }}
- name: Release
run: ./mill -i publishSonatype __.publishArtifacts
env:
PGP_PASSWORD: ${{ secrets.PGP_PASSPHRASE }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}