Skip to content

Commit

Permalink
Fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
Adubbz committed Jan 20, 2024
1 parent b569b40 commit 307afa2
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,23 @@ jobs:
distribution: 'oracle'
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
settings-path: ${{ github.workspace }} # location for the settings.xml file
# - name: Setup Gradle
# uses: gradle/gradle-build-action@v2
# - name: Publish
# run: ./gradlew publish
# env:
# MAVEN_USER: ${{ secrets.MAVEN_USER }}
# MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
# BUILD_NUMBER: ${{ github.run_number }}
# - name: CurseForge Publish
# run: ./gradlew curseforge -PcurseApiKey=${CURSE_API_KEY}
# env:
# CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
# BUILD_NUMBER: ${{ github.run_number }}
# continue-on-error: true
# - name: Modrinth Publish
# run: ./gradlew modrinth -PmodrinthToken=${MODRINTH_TOKEN}
# env:
# MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
# BUILD_NUMBER: ${{ github.run_number }}
# continue-on-error: true
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Publish
run: ./gradlew publish
env:
MAVEN_USER: ${{ secrets.MAVEN_USER }}
MAVEN_PASSWORD: ${{ secrets.MAVEN_PASSWORD }}
BUILD_NUMBER: ${{ github.run_number }}
- name: CurseForge Publish
run: ./gradlew curseforge -PcurseApiKey=${CURSE_API_KEY}
env:
CURSE_API_KEY: ${{ secrets.CURSE_API_KEY }}
BUILD_NUMBER: ${{ github.run_number }}
continue-on-error: true
- name: Modrinth Publish
run: ./gradlew modrinth -PmodrinthToken=${MODRINTH_TOKEN}
env:
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
BUILD_NUMBER: ${{ github.run_number }}
continue-on-error: true

0 comments on commit 307afa2

Please sign in to comment.