1
0
mirror of https://github.com/octoleo/plantuml.git synced 2024-11-22 13:05:09 +00:00

Merge pull request #816 from The-Lum/ImproveCI

Suppress `Upload simple jar` artefact and no ci on .md or docs [no ci]
This commit is contained in:
PlantUML 2021-12-01 23:02:01 +01:00 committed by GitHub
commit b2af1e3016
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,15 @@ on:
create:
pull_request:
types: [ opened, synchronize, reopened ]
paths-ignore:
- '*.md'
- 'docs/**'
push:
branches:
- master
paths-ignore:
- '*.md'
- 'docs/**'
workflow_dispatch:
defaults:
@ -113,16 +119,6 @@ jobs:
name: ${{ github.run_number }}-jars
path: target/*.jar
- name: Upload jar artifact (only simple jar - without javadoc or sources)
if: ${{ matrix.release_from_this_build }}
uses: actions/upload-artifact@v2
with:
name: plantuml-jar
path: |
target/*.jar
!target/*-javadoc.jar
!target/*-sources.jar
release:
needs: [ workflow_config, build ]
if: needs.workflow_config.outputs.do_release == 'true' || needs.workflow_config.outputs.do_snapshot_release == 'true'