mirror of
https://github.com/Pridecraft-Studios/joy.git
synced 2025-08-02 22:15:58 -04:00
feat: workflows
This commit is contained in:
parent
14cabe3477
commit
2f2d592e2d
19
.github/workflows/build.yml
vendored
Normal file
19
.github/workflows/build.yml
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags-ignore:
|
||||
- '**'
|
||||
branches:
|
||||
- '**'
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: Modflower/workflows/.github/workflows/mod-build.yml@main
|
||||
with:
|
||||
artifacts: |
|
||||
*/build/libs/
|
||||
!buildSrc
|
||||
java-version: 21
|
23
.github/workflows/publish.yml
vendored
Normal file
23
.github/workflows/publish.yml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
name: Publish
|
||||
|
||||
on:
|
||||
release:
|
||||
types:
|
||||
- published
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
build:
|
||||
uses: Modflower/workflows/.github/workflows/mod-publish.yml@main
|
||||
with:
|
||||
artifacts: |
|
||||
*/build/libs/*
|
||||
!buildSrc/*
|
||||
!xplat/*
|
||||
!*-sources.jar
|
||||
!*-javadoc.jar
|
||||
gradle-publish: 'publish'
|
||||
java-version: 21
|
||||
secrets: inherit
|
Loading…
x
Reference in New Issue
Block a user