forked from The-Aether-Team/The-Aether
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yml
58 lines (53 loc) · 1.23 KB
/
config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: 2.1
setup: true
orbs:
path-filtering: circleci/path-filtering@0.1.1
gradle: circleci/gradle@3.0.0
jobs:
publish:
machine:
image: ubuntu-2204:2022.07.1
resource_class: large
environment:
_JAVA_OPTIONS: -Xmx3200m
GRADLE_OPTS: -Dorg.gradle.daemon=false
steps:
- setup
- run: |
chmod +x ./gradlew
./gradlew publish
commands:
setup:
steps:
- checkout
- gradle/with_cache:
cache_key: 'v9'
steps:
- run:
name: chmod permissions
command: chmod +x ./gradlew
- run: ./gradlew build --parallel --console=plain
- store_artifacts:
path: ~/project/build/libs
workflows:
start:
jobs:
- path-filtering/filter:
name: filter
mapping: |
src/.* allow-deploy-and-discord-publish false
base-revision: << pipeline.git.branch >>
config-path: .circleci/continue_config.yml
publish:
jobs:
- publish:
context:
- maven
- publishing
filters:
tags:
only:
- /.*/
branches:
ignore:
- /.*/