mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-24 15:51:49 +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
|
||||
|
||||
cp ../master/repo/* .
|
||||
new_build=$(ls | tail -1)
|
||||
echo "New build file name: $new_build"
|
||||
new_jar_build=$(ls *.jar| tail -1)
|
||||
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.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
|
||||
mkdir -p repo/
|
||||
cp server/build/Tachidesk-*.jar repo/
|
||||
cp server/build/Tachidesk-*.zip repo/
|
||||
fi
|
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -54,12 +54,12 @@ jobs:
|
||||
cd master
|
||||
./scripts/getAndroid.sh
|
||||
|
||||
- name: Build the Jar
|
||||
- name: Build Jar and launch4j
|
||||
uses: eskatos/gradle-command-action@v1
|
||||
with:
|
||||
build-root-directory: master
|
||||
wrapper-directory: master
|
||||
arguments: :server:shadowJar --stacktrace
|
||||
arguments: :server:windowsPackage --stacktrace
|
||||
wrapper-cache-enabled: true
|
||||
dependencies-cache-enabled: true
|
||||
configuration-cache-enabled: true
|
||||
|
Loading…
Reference in New Issue
Block a user