diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..ee27367 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,17 @@ +name: CI + +on: + push: + tags-ignore: + - '**' + branches: + - '**' + pull_request: + workflow_dispatch: + +jobs: + build: + uses: Modflower/.github/workflows/mod-build.yml@main + with: + artifacts: | + '*/build/libs/' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 0000000..2053a35 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,14 @@ +name: Publish + +on: + release: + types: + - published + +jobs: + build: + uses: Modflower/.github/workflows/mod-publish.yml@main + with: + artifacts: | + '*/build/libs/' + secrets: inherit