Skip to content

Commit

Permalink
Java CI and Publish workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMCLoveMan committed Feb 27, 2024
1 parent 45c7a38 commit 400784a
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/java_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Java CI

on:
push:
branches-ignore:
- '**-dev'
paths-ignore:
- '.github/**'
- '**.md'
- '**.txt'

permissions:
contents: read

jobs:
ci:
uses: TheMCBrothers/.github/.github/workflows/mod_ci.yml@main
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish

on:
push:
tags:
- '**'
workflow_dispatch:

permissions:
contents: write

jobs:
publish:
uses: TheMCBrothers/.github/.github/workflows/mod_publish_unified.yml@main
secrets:
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
PUBLISH_USER: ${{ secrets.PUBLISH_USER }}
PUBLISH_PASSWORD: ${{ secrets.PUBLISH_PASSWORD }}

0 comments on commit 400784a

Please sign in to comment.