This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
Wolves Of Other Furs 4.0.2 #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload release assets | |
on: | |
release: | |
types: [published] | |
jobs: | |
upload_asset: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v1 | |
- uses: burrunan/gradle-cache-action@v1 | |
with: | |
gradle-distribution-sha-256-sum-warning: false | |
- name: Setup Java | |
uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
cache: gradle | |
java-version: 17 | |
- run: chmod +x gradlew | |
- name: Build And Publish To Maven | |
run: ./gradlew build publish -PmineblockMavenUsername=mineblock11 -PmineblockMavenPassword=${{ secrets.MAVEN_TOKEN }} | |
- uses: Kir-Antipov/[email protected] | |
with: | |
modrinth-id: ${{ vars.MODRINTH_ID }} | |
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | |
curseforge-id: ${{ vars.CURSEFORGE_ID }} | |
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | |
github-token: ${{ secrets.CLASSIC_GITHUB_TOKEN }} |