Skip to content

Commit 2800a92

Browse files
authored
Merge branch 'jMonkeyEngine:master' into master
2 parents 6a4b4d2 + 5f54eb2 commit 2800a92

1,736 files changed

Lines changed: 93874 additions & 29510 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/actions/tools/bintray.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

.github/actions/tools/minio.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
#!/bin/bash
2+
3+
# minio_uploadFile <LOCAL_FILEPATH> <REMOTE_FILEPATH> <MINIO_URL> <MINIO_ACCESS_KEY> <MINIO_SECRET_KEY>
4+
#
5+
# Upload the specified file to the specified MinIO instance.
6+
function minio_uploadFile {
7+
file="$1"
8+
dest="$2"
9+
url="$3"
10+
access="$4"
11+
secret="$5"
12+
13+
echo "Install MinIO client"
14+
wget --quiet https://dl.min.io/client/mc/release/linux-amd64/mc
15+
chmod +x ./mc
16+
17+
echo "Add an alias for the MinIO instance to the MinIO configuration file"
18+
./mc alias set objects "$url" "$access" "$secret"
19+
20+
echo "Upload $file to $url/$dest"
21+
./mc cp "$file" "objects/$dest"
22+
}

.github/actions/tools/uploadToMaven.sh

Lines changed: 1 addition & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,10 @@
22
#############################################
33
#
44
# Usage
5-
# uploadAllToMaven path/of/dist/maven https://api.bintray.com/maven/riccardo/sandbox-maven/ riccardo $BINTRAY_PASSWORD gitrepo license
6-
# Note: gitrepo and license are needed only when uploading to bintray if you want to create missing packages automatically
7-
# gitrepo must be a valid source repository
8-
# license must be a license supported by bintray eg "BSD 3-Clause"
9-
# or
10-
# uploadAllToMaven path/of/dist/maven $GITHUB_PACKAGE_REPOSITORY user password
5+
# uploadAllToMaven path/of/dist/maven $GITHUB_PACKAGE_REPOSITORY user password
116
#
127
#############################################
138
root="`dirname ${BASH_SOURCE[0]}`"
14-
source $root/bintray.sh
159

1610
set -e
1711
function uploadToMaven {
@@ -34,29 +28,6 @@ function uploadToMaven {
3428
auth="-H \"Authorization: token $password\""
3529
fi
3630

37-
38-
if [[ $repourl == https\:\/\/api.bintray.com\/* ]];
39-
then
40-
package="`dirname $destfile`"
41-
version="`basename $package`"
42-
package="`dirname $package`"
43-
package="`basename $package`"
44-
45-
if [ "$user" = "" -o "$password" = "" ];
46-
then
47-
echo "Error! You need username and password to upload to bintray"
48-
exit 1
49-
fi
50-
echo "Detected bintray"
51-
52-
bintrayRepo="${repourl/https\:\/\/api.bintray.com\/maven/}"
53-
echo "Create package on $bintrayRepo"
54-
55-
bintray_createPackage $bintrayRepo $package $user $password $srcrepo $license
56-
57-
repourl="$repourl/$package"
58-
fi
59-
6031
cmd="curl -T \"$file\" $auth \
6132
\"$repourl/$destfile\" \
6233
-vvv"

.github/workflows/format.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: auto-format
2+
on:
3+
push:
4+
5+
jobs:
6+
format:
7+
runs-on: ubuntu-latest
8+
if: ${{ false }}
9+
steps:
10+
- name: Checkout
11+
uses: actions/checkout@v4
12+
with:
13+
fetch-depth: 0
14+
- name: Prettify code
15+
uses: creyD/prettier_action@v4.3
16+
with:
17+
prettier_options: --tab-width 4 --print-width 110 --write **/**/*.java
18+
prettier_version: "2.8.8"
19+
only_changed: True
20+
commit_message: "auto-format"
21+
prettier_plugins: "prettier-plugin-java"

0 commit comments

Comments
 (0)