mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2025-01-26 07:15:30 +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* .
|
cp ../master/repo/server-r* .
|
||||||
new_build=$(ls | tail -1)
|
new_build=$(ls | tail -1)
|
||||||
echo "$new_build"
|
echo "New build file name: $new_build"
|
||||||
|
|
||||||
diff $new_build server-latest.jar > /dev/null
|
diff $new_build server-latest.jar > /dev/null
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
echo "copy"
|
echo "This is different to latest, replace latest."
|
||||||
cp -f $new_build server-latest.jar
|
cp -f $new_build server-latest.jar
|
||||||
else
|
else
|
||||||
echo "rm"
|
echo "This is the same as latest, throw it away."
|
||||||
rm $new_build
|
rm $new_build
|
||||||
fi
|
fi
|
||||||
echo "shit"
|
|
||||||
|
|
||||||
|
|
||||||
#git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
#git config --global user.name "github-actions[bot]"
|
git config --global user.name "github-actions[bot]"
|
||||||
git status
|
git status
|
||||||
if [ -n "$(git status --porcelain)" ]; then
|
if [ -n "$(git status --porcelain)" ]; then
|
||||||
git add .
|
git add .
|
||||||
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -42,6 +42,12 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
java-version: 1.8
|
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
|
- name: Download and process android.jar
|
||||||
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
if: github.event_name == 'push' && github.repository == 'AriaMoradi/Tachidesk'
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user