Skip to content

Commit

Permalink
fix: maven later
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Aug 26, 2023
1 parent 1e7f0be commit 28a1c6e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Build & Publish to Github Maven
run: ./gradlew build publish publishMods --no-daemon
- name: Build & Publish
run: ./gradlew build publishMods --no-daemon
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CURSE_TOKEN: ${{ secrets.CURSE_TOKEN }}
20 changes: 10 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,16 @@ publishing {
}
}

repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/Direwolf20-MC/MiningGadgets"
credentials {
username = providers.environmentVariable("GITHUB_ACTOR")
password = providers.environmentVariable("GITHUB_TOKEN")
}
}
}
// repositories {
// maven {
// name = "GitHubPackages"
// url = "https://maven.pkg.github.com/Direwolf20-MC/MiningGadgets"
// credentials {
// username = providers.environmentVariable("GITHUB_ACTOR")
// password = providers.environmentVariable("GITHUB_TOKEN")
// }
// }
// }
}

def makeChangelog() {
Expand Down

0 comments on commit 28a1c6e

Please sign in to comment.