mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-10 15:50:57 +00:00
Sup Upload simple jar
and no ci on .md or docs
Mod: - Suppress `Upload simple jar` on artifact - No CI on `.md` or `docs` Ref.: - https://github.com/plantuml/plantuml/discussions/653#discussioncomment-1684866 - https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#example-ignoring-paths - https://github.blog/changelog/2019-09-30-github-actions-event-filtering-updates/
This commit is contained in:
parent
8b8c3df7ed
commit
1854dcc2b9
16
.github/workflows/ci.yml
vendored
16
.github/workflows/ci.yml
vendored
@ -4,9 +4,15 @@ on:
|
|||||||
create:
|
create:
|
||||||
pull_request:
|
pull_request:
|
||||||
types: [ opened, synchronize, reopened ]
|
types: [ opened, synchronize, reopened ]
|
||||||
|
paths-ignore:
|
||||||
|
- '*.md'
|
||||||
|
- 'docs/**'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
|
paths-ignore:
|
||||||
|
- '*.md'
|
||||||
|
- 'docs/**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
@ -113,16 +119,6 @@ jobs:
|
|||||||
name: ${{ github.run_number }}-jars
|
name: ${{ github.run_number }}-jars
|
||||||
path: target/*.jar
|
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:
|
release:
|
||||||
needs: [ workflow_config, build ]
|
needs: [ workflow_config, build ]
|
||||||
if: needs.workflow_config.outputs.do_release == 'true' || needs.workflow_config.outputs.do_snapshot_release == 'true'
|
if: needs.workflow_config.outputs.do_release == 'true' || needs.workflow_config.outputs.do_snapshot_release == 'true'
|
||||||
|
Loading…
Reference in New Issue
Block a user