Skip to content

Commit 0a1bf2e

Browse files
committed
Updated Workflows...
1 parent 16a3771 commit 0a1bf2e

File tree

4 files changed

+42
-45
lines changed

4 files changed

+42
-45
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Auto Assign
2+
on:
3+
pull_request_target:
4+
5+
jobs:
6+
run:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: read
10+
issues: write
11+
pull-requests: write
12+
discussions: write
13+
steps:
14+
- uses: wow-actions/auto-assign@v3
15+
with:
16+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
reviewers: RealMangoRage, PaintNinja
18+
assignees: PaintNinja, RealMangoRage
19+
skipKeywords: wip, draft
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build MangoBotGradle
2+
on:
3+
push:
4+
branches: [ "master" ]
5+
paths-ignore:
6+
- 'README.md'
7+
- 'settings.gradle'
8+
9+
permissions:
10+
contents: write
11+
12+
jobs:
13+
build:
14+
uses: MinecraftForge/SharedActions/.github/workflows/gradle.yml@v0
15+
with:
16+
java: 22
17+
gradle_tasks: :publish
18+
artifact_name: "MangoBotGradle"
19+
secrets:
20+
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
21+
MAVEN_USER: ${{ secrets.USERNAME }} # Reference the secret
22+
MAVEN_PASSWORD: ${{ secrets.PASSWORD }} # Reference the secret

.github/workflows/gradle.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ publishing {
157157
url = "https://maven.minecraftforge.net/"
158158

159159
credentials {
160-
username = System.getenv("MAVEN_USERNAME")
160+
username = System.getenv("MAVEN_USER")
161161
password = System.getenv("MAVEN_PASSWORD")
162162
}
163163
}

0 commit comments

Comments
 (0)