mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-25 16:21:50 +01:00
change build scripts
This commit is contained in:
parent
1ea51bb9df
commit
3146fefb55
10
.github/scripts/commit-repo.sh
vendored
10
.github/scripts/commit-repo.sh
vendored
@ -1,10 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
cp ../master/repo/* .
|
cp ../master/repo/* .
|
||||||
new_build=$(ls | tail -1)
|
new_jar_build=$(ls *.jar| tail -1)
|
||||||
echo "New build file name: $new_build"
|
echo "last jar build file name: $new_jar_build"
|
||||||
|
|
||||||
cp -f $new_build Tachidesk-latest.jar
|
new_win32_build=$(ls *.zip| tail -1)
|
||||||
|
echo "last win32 build file name: $new_win32_build"
|
||||||
|
|
||||||
|
cp -f $new_jar_build Tachidesk-latest.jar
|
||||||
|
cp -f $new_win32_build Tachidesk-latest-win32.zip
|
||||||
|
|
||||||
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]"
|
||||||
|
1
.github/scripts/create-repo.sh
vendored
1
.github/scripts/create-repo.sh
vendored
@ -10,4 +10,5 @@ echo "count is: $filter_count"
|
|||||||
if [ "$filter_count" -gt 0 ]; then
|
if [ "$filter_count" -gt 0 ]; then
|
||||||
mkdir -p repo/
|
mkdir -p repo/
|
||||||
cp server/build/Tachidesk-*.jar repo/
|
cp server/build/Tachidesk-*.jar repo/
|
||||||
|
cp server/build/Tachidesk-*.zip repo/
|
||||||
fi
|
fi
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -54,12 +54,12 @@ jobs:
|
|||||||
cd master
|
cd master
|
||||||
./scripts/getAndroid.sh
|
./scripts/getAndroid.sh
|
||||||
|
|
||||||
- name: Build the Jar
|
- name: Build Jar and launch4j
|
||||||
uses: eskatos/gradle-command-action@v1
|
uses: eskatos/gradle-command-action@v1
|
||||||
with:
|
with:
|
||||||
build-root-directory: master
|
build-root-directory: master
|
||||||
wrapper-directory: master
|
wrapper-directory: master
|
||||||
arguments: :server:shadowJar --stacktrace
|
arguments: :server:windowsPackage --stacktrace
|
||||||
wrapper-cache-enabled: true
|
wrapper-cache-enabled: true
|
||||||
dependencies-cache-enabled: true
|
dependencies-cache-enabled: true
|
||||||
configuration-cache-enabled: true
|
configuration-cache-enabled: true
|
||||||
|
Loading…
Reference in New Issue
Block a user