This repository has been archived by the owner on Mar 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix tick of player suffocation on teleport and join game * actions publish 1 * actions publish 2 * actions publish 3 * actions publish 4 * actions publish 5 * actions publish 5 * actions publish 7 * actions publish 8 * actions publish 9 * actions publish 10 * actions publish 11
- Loading branch information
Showing
5 changed files
with
99 additions
and
67 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: gradle-ci | ||
|
||
on: | ||
release: | ||
types: | ||
- published | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout repository | ||
uses: actions/checkout@v3 | ||
- name: setup JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
java-version: 17 | ||
distribution: adopt | ||
- name: update cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.gradle/caches | ||
~/.gradle/loom-cache | ||
~/.gradle/wrapper | ||
key: ${{ runner.os }}-gradle-${{ hashFiles('**/gradle-wrapper.properties') }} | ||
restore-keys: ${{ runner.os }}-gradle- | ||
|
||
- name: make gradle wrapper executable | ||
run: chmod +x ./gradlew | ||
|
||
- name: build | ||
run: ./gradlew build | ||
|
||
- if: ${{ contains(github.ref, 'core') }} | ||
name: Upload MCXR-Core artifacts to Modrinth, Curseforge and GitHub | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
modrinth-id: hcEWWGik | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
curseforge-id: 631772 | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
|
||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
files: mcxr-core/build/libs/!(*-@(dev|sources|all)).jar | ||
|
||
version-type: beta | ||
|
||
loaders: fabric | ||
|
||
version-resolver: latest | ||
|
||
- if: ${{ contains(github.ref, 'play') }} | ||
name: Upload MCXR-Play artifacts to Modrinth, Curseforge and GitHub | ||
uses: Kir-Antipov/[email protected] | ||
with: | ||
modrinth-id: hcEWWGik | ||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }} | ||
|
||
curseforge-id: 9jVyqpHR | ||
curseforge-token: ${{ secrets.CURSEFORGE_TOKEN }} | ||
|
||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
files: mcxr-play/build/libs/!(*-@(dev|sources|all)).jar | ||
|
||
version-type: beta | ||
|
||
loaders: fabric | ||
|
||
version-resolver: latest |
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 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 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