Skip tests in release build #4
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
#file: noinspection SpellCheckingInspection | |
name: Push (master) | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
dependencies: | |
name: Dependencies | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 21 | |
distribution: temurin | |
- uses: mikepenz/[email protected] | |
with: | |
use-gradlew: false | |
modrinth-description: | |
name: Update Modrinth Description | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
submodules: recursive | |
- uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- uses: gradle/gradle-build-action@v2 | |
- name: Build | |
run: | | |
gradle modrinthSyncBody | |
env: | |
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} |