Skip to content

Update zstd-jni to 1.5.7-7 #86

Update zstd-jni to 1.5.7-7

Update zstd-jni to 1.5.7-7 #86

Workflow file for this run

on:
push:
branches:
- main
tags:
- '**'
pull_request:
# cancel older runs of a pull request;
# this will not cancel anything for normal git pushes
concurrency:
group: cancel-old-pr-runs-${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
name: Build and Test
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
java-version: [17]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java-version }}
distribution: temurin
- name: Check publishing local
env:
MILL_TEST_MODE: true
run: ./mill -i __.publishLocal
- name: Test
run: ./mill -i -k __.test
publish:
name: Publish to Maven Central
needs: [build]
if: github.repository == 'hoangmaihuy/mill-universal-packager' && github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
concurrency: publish-{{ github.sha }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: 17
distribution: temurin
- name: Publish to Maven Central
run: ./mill __.publishSonatypeCentral
env:
MILL_PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
MILL_PGP_SECRET_BASE64: ${{ secrets.PGP_SECRET }}
MILL_SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
MILL_SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}