Merge changes from stable-7 in to api-8
Signed-off-by: Gabriel Harris-Rouquette <gabizou@me.com>
This commit is contained in:
7 files changed
+28
-35
No files matched your search
@@ -0,0 +1,5 @@
|
||||
# Contribution Guidelines
|
||||
|
||||
We will always have a need for developers to help us improve Sponge. There is no such thing as a perfect project and things can always be improved. If you are a developer and are interested in helping then please do not hesitate. Just make sure you follow our guidelines.
|
||||
|
||||
Please check our [Contribution Guidelines in the Sponge Documentation](https://docs.spongepowered.org/en/contributing/guidelines.html) for more information.
|
||||
@@ -5,9 +5,9 @@ name: Java CI with Gradle
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ api-8 ]
|
||||
branches: [ stable-7, 'api-*' ]
|
||||
pull_request:
|
||||
branches: [ api-8 ]
|
||||
branches: [ 'api-*' ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -30,5 +30,9 @@ jobs:
|
||||
java-version: 1.8
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Setup environment variables
|
||||
run: |
|
||||
echo "GIT_COMMIT=${GITHUB_SHA}" >> $GITHUB_ENV
|
||||
echo "GIT_BRANCH=${GITHUB_REF##*/}" >> $GITHUB_ENV
|
||||
- name: Build with Gradle
|
||||
run: ./gradlew build
|
||||
@@ -5,9 +5,9 @@ name: License Check
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ api-8 ]
|
||||
branches: [ stable-7, api-8 ]
|
||||
pull_request:
|
||||
branches: [ api-8 ]
|
||||
branches: [ stable-7, api-8 ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -28,5 +28,5 @@ jobs:
|
||||
java-version: 1.8
|
||||
- name: Grant execute permission for gradlew
|
||||
run: chmod +x gradlew
|
||||
- name: Build with Gradle
|
||||
- name: Check license
|
||||
run: ./gradlew checkLicenses
|
||||
@@ -1,7 +1,7 @@
|
||||
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
|
||||
# For more information see: https://github.com/actions/setup-java#publishing-using-gradle
|
||||
|
||||
name: Publish plugin-meta to Maven and Github Packages
|
||||
name: Publish SpongeAPI to Maven and Github Packages
|
||||
|
||||
on:
|
||||
push:
|
||||
@@ -22,7 +22,7 @@ jobs:
|
||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||
- uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.gradle/caches
|
||||
path: ${{ github.workspace }}/.gradle/caches
|
||||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-gradle-
|
||||
|
||||
Reference in new issue
Block a user