Skip to content

Commit 2f2d592

Browse files
committed
feat: workflows
1 parent 14cabe3 commit 2f2d592

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed

.github/workflows/build.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
tags-ignore:
6+
- '**'
7+
branches:
8+
- '**'
9+
pull_request:
10+
workflow_dispatch:
11+
12+
jobs:
13+
build:
14+
uses: Modflower/workflows/.github/workflows/mod-build.yml@main
15+
with:
16+
artifacts: |
17+
*/build/libs/
18+
!buildSrc
19+
java-version: 21

.github/workflows/publish.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Publish
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build:
13+
uses: Modflower/workflows/.github/workflows/mod-publish.yml@main
14+
with:
15+
artifacts: |
16+
*/build/libs/*
17+
!buildSrc/*
18+
!xplat/*
19+
!*-sources.jar
20+
!*-javadoc.jar
21+
gradle-publish: 'publish'
22+
java-version: 21
23+
secrets: inherit

0 commit comments

Comments
 (0)