Add continous build #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file was generated using Kotlin DSL (.github/workflows/build.main.kts). | |
# If you want to modify the workflow, please change the Kotlin file and regenerate this YAML file. | |
# Generated with https://github.com/typesafegithub/github-workflows-kt | |
name: 'Build' | |
on: | |
push: {} | |
pull_request: {} | |
jobs: | |
build: | |
name: 'Build' | |
runs-on: 'macos-latest' | |
steps: | |
- id: 'step-0' | |
name: 'Configure Git' | |
run: 'git config --global core.autocrlf input' | |
- id: 'step-1' | |
name: 'Checkout' | |
uses: 'actions/checkout@v4' | |
- id: 'step-2' | |
name: 'Setup Java 11' | |
uses: 'actions/setup-java@v4' | |
with: | |
java-version: '11' | |
distribution: 'temurin' | |
- id: 'step-3' | |
name: 'Build' | |
run: 'ant -keep-going dist' | |
- id: 'step-4' | |
name: 'Upload Artifacts' | |
uses: 'actions/upload-artifact@v4' | |
with: | |
name: 'Artifact' | |
path: 'dist' | |
if-no-files-found: 'error' | |
compression-level: '0' | |
- id: 'step-5' | |
name: 'Setup tmate Session' | |
uses: 'mxschmitt/action-tmate@v3' | |
if: '${{ always() }}' |