Skip to content

Add continous build

Add continous build #6

Workflow file for this run

# 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 on ${{ matrix.os }}'
runs-on: '${{ matrix.os }}'
strategy:
fail-fast: false
matrix:
os:
- 'ubuntu-latest'
- 'windows-latest'
- '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 All Result Files'
uses: 'actions/upload-artifact@v4'
with:
name: 'All Artifacts'
path: |-
dist/jedit*manual-a4.pdf
dist/jedit*manual-letter.pdf
dist/jedit*source.tar.bz2
dist/jedit*install.jar
dist/jedit-*-noarch-1sao.tgz
dist/jedit_*_all.deb
dist/jedit*install.exe
dist/jedit*install.dmg
dist/jedit*-dist-mac-finish.tar.bz2
dist/Packages
dist/Packages.gz
dist/Packages.bz2
dist/Release
dist/Release.gpg
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-5'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*manual-a4.pdf'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-6'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*manual-letter.pdf'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-7'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*source.tar.bz2'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-8'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*install.jar'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-9'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit-*-noarch-1sao.tgz'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-10'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit_*_all.deb'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-11'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*install.exe'
if-no-files-found: 'error'
compression-level: '0'
- id: 'step-12'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*install.dmg'
if-no-files-found: 'error'
compression-level: '0'
if: '${{ runner.os }} == macOS'
- id: 'step-13'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/jedit*-dist-mac-finish.tar.bz2'
if-no-files-found: 'error'
compression-level: '0'
if: '${{ runner.os }} != macOS'
- id: 'step-14'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/Packages'
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-15'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/Packages.gz'
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-16'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/Packages.bz2'
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-17'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/Release'
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-18'
name: 'Upload '
uses: 'actions/upload-artifact@v4'
with:
name: ''
path: 'dist/Release.gpg'
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-19'
name: 'Upload All Unexpected Result Files'
uses: 'actions/upload-artifact@v4'
with:
name: 'Unexpected Artifacts'
path: |-
!dist/jedit*manual-a4.pdf
!dist/jedit*manual-letter.pdf
!dist/jedit*source.tar.bz2
!dist/jedit*install.jar
!dist/jedit-*-noarch-1sao.tgz
!dist/jedit_*_all.deb
!dist/jedit*install.exe
!dist/jedit*install.dmg
!dist/jedit*-dist-mac-finish.tar.bz2
!dist/Packages
!dist/Packages.gz
!dist/Packages.bz2
!dist/Release
!dist/Release.gpg
if-no-files-found: 'ignore'
compression-level: '0'
- id: 'step-20'
name: 'Verify No Unexpected Result Files'
shell: 'bash'
run: '[ ''${{ steps.step-19.outputs.artifact-id }}'' == '''' ]'