-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'refs/heads/nightly' into fix/module-dependencies
# Conflicts: # driver/src/main/java/eu/cloudnetservice/driver/module/DefaultModuleProvider.java
- Loading branch information
Showing
421 changed files
with
3,376 additions
and
32,354 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
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 |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
java: | ||
- 17 | ||
- 21 | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate gradle wrapper | ||
uses: gradle/wrapper-validation-action@v2 | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Setup java | ||
uses: actions/setup-java@v4 | ||
|
@@ -39,7 +39,7 @@ jobs: | |
- name: Setup gradle cache | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
cache-read-only: ${{ github.ref != 'refs/heads/nightly' || matrix.java != 17 }} | ||
cache-read-only: ${{ github.ref != 'refs/heads/nightly' || matrix.java != 21 }} | ||
|
||
- name: Setup Loom cache | ||
uses: actions/cache@v4 | ||
|
@@ -52,7 +52,7 @@ jobs: | |
run: ./gradlew build test shadowJar genUpdaterInformation --stacktrace | ||
|
||
- name: Publish test summary | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 17 }} | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 21 }} | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
with: | ||
junit_files: "**/build/test-results/test/TEST-*.xml" | ||
|
@@ -63,7 +63,7 @@ jobs: | |
|
||
- name: Publish updater metadata | ||
uses: s0/git-publish-subdir-action@develop | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 17 }} | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 21 }} | ||
env: | ||
REPO: [email protected]:CloudNetService/launchermeta.git | ||
BRANCH: ${{ steps.branch-name.outputs.current_branch }} | ||
|
@@ -75,7 +75,7 @@ jobs: | |
MESSAGE: 'Update launcher meta for {target-branch} (commit: {sha})' | ||
|
||
- name: Set version type in GitHub environment | ||
if: ${{ matrix.java == 17 }} | ||
if: ${{ matrix.java == 21 }} | ||
run: | | ||
if [ "$(./gradlew properties | awk '/^version:/ { print $2; }' | grep '\-SNAPSHOT')" ]; then | ||
echo "STATUS=snapshot" >> $GITHUB_ENV | ||
|
@@ -84,14 +84,14 @@ jobs: | |
fi | ||
- name: Publish snapshot to Sonatype | ||
if: ${{ github.event_name == 'push' && env.STATUS != 'release' && startsWith(github.ref, 'refs/heads/nightly') && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 17 }} | ||
if: ${{ github.event_name == 'push' && env.STATUS != 'release' && startsWith(github.ref, 'refs/heads/nightly') && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 21 }} | ||
run: ./gradlew publish | ||
env: | ||
SONATYPE_USER: "${{ secrets.SONATYPE_USER }}" | ||
SONATYPE_TOKEN: "${{ secrets.SONATYPE_TOKEN }}" | ||
|
||
- name: Prepare artifacts zip | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 17 }} | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 21 }} | ||
run: | | ||
mkdir -p temp/; | ||
mkdir -p temp/plugins; | ||
|
@@ -104,7 +104,7 @@ jobs: | |
- name: Upload artifacts zip | ||
uses: actions/upload-artifact@v4 | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 17 }} | ||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/gh-readonly-queue/') && matrix.java == 21 }} | ||
with: | ||
name: CloudNet | ||
path: temp/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/bash | ||
|
||
cd "$(dirname "$0")" || exit 1 | ||
|
||
# check if java is installed | ||
|
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
|
||
cd "$(dirname "$(readlink -fn "$0")")" || exit 1 | ||
|
||
# check if java is installed | ||
|
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
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
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
Oops, something went wrong.