Skip to content

Commit

Permalink
💚 CI fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fantomitechno committed Apr 10, 2023
1 parent 43b144b commit b68f895
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: make gradle wrapper executable
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Distributors
env:
MODRINTH: ${{ secrets.MODRINTH }}
run: ./gradlew publish
- uses: Kir-Antipov/mc-publish@v3.2
with:
# You don't need this section if you don't want to publish
# your assets to Modrinth
modrinth-id: dinnermod
modrinth-token: ${{ secrets.MODRINTH }}

# You don't need this section if you don't want to publish
# your assets to GitHub
github-token: ${{ secrets.GITHUB_TOKEN }}
github-generate-changelog: true

0 comments on commit b68f895

Please sign in to comment.