1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-19 19:55:09 +00:00
plantuml/.github/workflows/ci-mit.yml

50 lines
1.1 KiB
YAML
Raw Normal View History

2023-03-16 19:55:14 +00:00
name: ci-mit
'on':
create: null
pull_request:
types:
- opened
- synchronize
- reopened
paths-ignore:
- '*.md'
- docs/**
push:
branches:
- master
paths-ignore:
- '*.md'
- docs/**
workflow_dispatch: null
defaults:
run:
shell: bash
jobs:
workflow_config:
runs-on: ubuntu-latest
outputs:
do_release: '${{ steps.config.outputs.do_release }}'
do_snapshot_release: '${{ steps.config.outputs.do_snapshot_release }}'
pom_version: '${{ steps.config.outputs.pom_version }}'
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Run pre-processor
run: |
ls -l
java -jar sjpp.jar
java -jar sjpp.jar src src-mit __MIT__
ls -l
- name: Rename build-mit.gradle
run: |
ls -l *.kts
cp build-mit.gradle.kts build.gradle.kts
ls -l *.kts
- name: Compile
2023-03-16 20:02:10 +00:00
run: gradle jar --no-daemon
2023-03-16 19:55:14 +00:00
- name: print version
run: |
2023-03-16 20:02:10 +00:00
ls -l
2023-03-16 19:55:14 +00:00
ls -l build/libs
2023-03-16 20:11:33 +00:00
java -jar build/libs/plantuml-M.YYYY.m-SNAPSHOT.jar -version