Fix minor issues with show_entity hover in messages (#3908) #1405
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
# This workflow will build a Java project with Gradle | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
name: Build and Deploy | |
on: | |
push: | |
branches: [ stable-7 ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: run number with offset | |
run: echo "BUILD_NUMBER=$(($GITHUB_RUN_NUMBER+439))" >> $GITHUB_ENV | |
- name: Setup workspace | |
run : | | |
echo "GIT_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV | |
echo "GIT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV | |
./gradlew --refresh-dependencies clean setupDecompWorkspace | |
- name: Publish to Sponge Maven & GitHub Packages | |
run: ./gradlew -s build :uploadArchives | |
env: | |
CI_SYSTEM: Github Actions | |
GITHUB_USERNAME: ${{ github.actor }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ORG_GRADLE_PROJECT_spongeSnapshotRepo: ${{ secrets.SPONGE_MAVEN_SNAPSHOT_REPO_URL }} | |
ORG_GRADLE_PROJECT_spongeReleaseRepo: ${{ secrets.SPONGE_MAVEN_RELEASE_REPO_URL }} | |
ORG_GRADLE_PROJECT_spongeUsername: ${{ secrets.SPONGE_MAVEN_REPO_USER }} | |
ORG_GRADLE_PROJECT_spongePassword: ${{ secrets.SPONGE_MAVEN_REPO_PASSWORD }} | |
- name: Add artifacts to build | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Sponge Jars | |
path: | | |
${{ github.workspace }}/SpongeAPI/build/libs/*.jar | |
${{ github.workspace }}/build/libs/*.jar |