Skip to content

Update mill-main to 0.11.10 #128

Update mill-main to 0.11.10

Update mill-main to 0.11.10 #128

Workflow file for this run

name: Launchers
on:
push:
branches:
- main
tags:
- "v*"
pull_request:
jobs:
generate-launchers:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-20.04, windows-latest, macos-13]
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: coursier/[email protected]
- uses: coursier/setup-action@v1
with:
jvm: 8
- run: |
./mill -i "native.writeNativeImageScript" generate.sh "" && \
./generate.sh && \
./mill -i "native.copyToArtifacts" artifacts/
if: runner.os != 'Windows'
- run: |
@call ./mill.bat -i "native.writeNativeImageScript" generate.bat ""
@call generate.bat
@call ./mill.bat -i "native.copyToArtifacts" artifacts/
shell: cmd
if: runner.os == 'Windows'
- uses: actions/[email protected]
with:
name: launcher-${{ matrix.os }}
path: artifacts/
if-no-files-found: error
retention-days: 1
- run: ./mill -i upload artifacts/
if: github.event_name == 'push'
env:
UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
generate-static-launcher:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: coursier/[email protected]
- uses: coursier/setup-action@v1
with:
jvm: 8
- run: |
./mill -i "native-static.writeNativeImageScript" generate.sh "" && \
./generate.sh && \
./mill -i "native-static.copyToArtifacts" artifacts/
- uses: actions/[email protected]
with:
name: launcher-${{ matrix.os }}-static
path: artifacts/
if-no-files-found: error
retention-days: 1
- run: ./mill -i upload artifacts/
if: github.event_name == 'push'
env:
UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
generate-mostly-static-launcher:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: true
- uses: coursier/[email protected]
- uses: coursier/setup-action@v1
with:
jvm: 8
- run: |
./mill -i "native-mostly-static.writeNativeImageScript" generate.sh "" && \
./generate.sh && \
./mill -i "native-mostly-static.copyToArtifacts" artifacts/
- uses: actions/[email protected]
with:
name: launcher-${{ matrix.os }}-mostly-static
path: artifacts/
if-no-files-found: error
retention-days: 1
- run: ./mill -i upload artifacts/
if: github.event_name == 'push'
env:
UPLOAD_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}