Skip to content

Commit

Permalink
Build and publish with actions (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matyrobbrt authored Nov 11, 2023
1 parent 33c9859 commit cb9fccb
Show file tree
Hide file tree
Showing 8 changed files with 58 additions and 354 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build-prs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build and test PRs

on:
pull_request:
types:
- synchronize
- opened
- ready_for_review
- reopened
push:
branches:
- 'feature/**'
workflow_dispatch:

jobs:
build:
uses: neoforged/actions/.github/workflows/build-prs.yml@main
with:
java: 17
gradle_tasks: test
21 changes: 21 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release

on:
push:
branches: [ "main" ]

permissions:
contents: read
statuses: write

jobs:
release:
uses: neoforged/actions/.github/workflows/gradle-publish.yml@main
with:
java: 17
pre_gradle_tasks: test
gradle_tasks: publish
secrets:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
104 changes: 0 additions & 104 deletions .teamcity/pom.xml

This file was deleted.

92 changes: 0 additions & 92 deletions .teamcity/settings.kts

This file was deleted.

64 changes: 0 additions & 64 deletions FMLAT.md

This file was deleted.

56 changes: 0 additions & 56 deletions Jenkinsfile

This file was deleted.

Loading

0 comments on commit cb9fccb

Please sign in to comment.