Skip to content

Commit bcfcce8

Browse files
committed
ci: add CI and publish workflows from Conventions
1 parent 49f3c27 commit bcfcce8

2 files changed

Lines changed: 36 additions & 0 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- 'develop/**'
8+
pull_request:
9+
types: [opened, synchronize, reopened, ready_for_review, review_requested]
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
15+
jobs:
16+
build:
17+
uses: CleanroomMC/Conventions/.github/workflows/build.yml@1.3.1

‎.github/workflows/publish.yml‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- '[0-9]+.[0-9]+.[0-9]+'
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: write
11+
issues: read
12+
pull-requests: read
13+
14+
jobs:
15+
release:
16+
uses: CleanroomMC/Conventions/.github/workflows/release.yml@1.3.1
17+
with:
18+
publish-maven: true
19+
secrets: inherit

0 commit comments

Comments
 (0)