Skip to content

Fix: FloatTable size and position unsaved #21

Fix: FloatTable size and position unsaved

Fix: FloatTable size and position unsaved #21

name: autoReleaseUpload
on:
push:
tags:
- 'v*'
jobs:
buildJar:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up PATH
run: |
echo "${ANDROID_HOME}/build-tools/34.0.0" >> $GITHUB_PATH
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build mod jar
run: |
./gradlew deploy
mv build/libs/${{ github.event.repository.name }}.jar build/libs/${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.jar
- name: Upload
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.TOKEN }}
file: build/libs/${{ github.event.repository.name }}-${{ env.RELEASE_VERSION }}.jar
tag: ${{ github.ref }}