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:
commit
b2af1e3016
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user