feat(cloth capes): curved cape works, just need to work on physics now #55
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: PlayerInfo CI | |
on: | |
push: | |
create: | |
types: [tag] | |
pull_request_target: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Get Mod Version | |
id: get_version | |
run: | | |
echo "MOD_VERSION=v$(sed -e 's/"//g' <<< cat build.gradle | grep -m 1 'version = ' | cut -d'=' -f2 | awk '{$1=$1};1')" >> $GITHUB_ENV | |
- name: Set Up Java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Build With Gradle | |
run: ./gradlew build | |
- name: Upload Jar | |
id: upload-final | |
uses: actions/upload-artifact@v2 | |
with: | |
name: dist | |
path: ./build/libs/playerinfo*.jar | |
- name: Create Release | |
id: create-release | |
uses: softprops/action-gh-release@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
tag_name: ${{ env.MOD_VERSION }} | |
name: Release ${{ env.MOD_VERSION }} | |
prerelease: false | |
files: ./build/libs/playerinfo*.jar |