mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-10-31 22:45:06 +01:00
remove shit, add shit to improve performance
This commit is contained in:
parent
466f21a7e8
commit
8b2fd28a54
7
.github/runner-files/ci-gradle.properties
vendored
Normal file
7
.github/runner-files/ci-gradle.properties
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
org.gradle.daemon=false
|
||||
org.gradle.jvmargs=-Xmx5120m
|
||||
org.gradle.workers.max=5
|
||||
org.gradle.parallel=true
|
||||
|
||||
kotlin.incremental=false
|
||||
kotlin.compiler.execution.strategy=in-process
|
11
.github/scripts/commit-repo.sh
vendored
11
.github/scripts/commit-repo.sh
vendored
@ -2,21 +2,20 @@
|
||||
|
||||
cp ../master/repo/server-r* .
|
||||
new_build=$(ls | tail -1)
|
||||
echo "$new_build"
|
||||
echo "New build file name: $new_build"
|
||||
|
||||
diff $new_build server-latest.jar > /dev/null
|
||||
if [ $? -eq 1 ]; then
|
||||
echo "copy"
|
||||
echo "This is different to latest, replace latest."
|
||||
cp -f $new_build server-latest.jar
|
||||
else
|
||||
echo "rm"
|
||||
echo "This is the same as latest, throw it away."
|
||||
rm $new_build
|
||||
fi
|
||||
echo "shit"
|
||||
|
||||
|
||||
#git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
#git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git status
|
||||
if [ -n "$(git status --porcelain)" ]; then
|
||||
git add .
|
||||
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -42,6 +42,12 @@ jobs:
|
||||
with:
|
||||
java-version: 1.8
|
||||
|
||||
- name: Copy CI gradle.properties
|
||||
run: |
|
||||
cd master
|
||||
mkdir -p ~/.gradle
|
||||
cp .github/runner-files/ci-gradle.properties ~/.gradle/gradle.properties
|
||||
|
||||
- name: Download and process android.jar
|
||||
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user