feat: added dedicated event for client side dim change #37
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: Build & Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches | |
~/.gradle/wrapper | |
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }} | |
restore-keys: | | |
${{ runner.os }}-gradle- | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 30 # Gets the last 30 commits so the changelog might work | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
- name: Build & release to curseforge | |
env: | |
GIT_COMMIT: ${{ github.event.after }} | |
GIT_PREVIOUS_COMMIT: ${{ github.event.before }} | |
NANITE_DEPLOY: ${{ secrets.NANITE_DEPLOY }} | |
CURSE_DEPLOY: ${{ secrets.CURSE_DEPLOY }} | |
run: | | |
chmod +x ./gradlew | |
./gradlew build publish curseforge --stacktrace --no-daemon |