clean up tests

This commit is contained in:
Aria Moradi 2021-05-24 17:09:05 +04:30
parent 60073aace3
commit b359116745

View File

@ -59,21 +59,21 @@ jobs:
**/react/node_modules **/react/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/react/yarn.lock') }} key: ${{ runner.os }}-${{ hashFiles('**/react/yarn.lock') }}
# - name: Build and copy webUI, Build Jar - name: Build and copy webUI, Build Jar
# 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: :webUI:copyBuild :server:shadowJar --stacktrace arguments: :webUI:copyBuild :server:shadowJar --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
- name: Mock Build and copy webUI, Build Jar # - name: Mock Build and copy webUI, Build Jar
run: | # run: |
mkdir -p master/server/build # mkdir -p master/server/build
cd master/server/build # cd master/server/build
echo "test" > Tachidesk-v0.3.8-r583.jar # echo "test" > Tachidesk-v0.3.8-r583.jar
- name: Generate Tag Name - name: Generate Tag Name
id: GenTagName id: GenTagName
@ -83,31 +83,16 @@ jobs:
echo "$genTag" echo "$genTag"
echo "::set-output name=value::$genTag" echo "::set-output name=value::$genTag"
# - name: Create tag - name: make windows packages
# uses: actions/github-script@v3
# env:
# TAG: ${{ steps.GenTagName.value }}
# with:
# github-token: ${{ github.DEPLOY_PREVIEW_TOKEN }}
# script: |
# const { TAG } = process.env
#
# github.git.createTag({
# owner: "Suwayomi",
# repo: "Tachidesk",
# tag: TAG,
# })
# - name: make windows packages
# run: |
# cd master/scripts
# ./windows-bundler.sh win32
# ./windows-bundler.sh win64
- name: Mock make windows packages
run: | run: |
cd master/server/build cd master/scripts
echo test > Tachidesk-v0.3.8-r580.zip ./windows-bundler.sh win32
./windows-bundler.sh win64
# - name: Mock make windows packages
# run: |
# cd master/server/build
# echo test > Tachidesk-v0.3.8-r580-win32.zip
- name: Checkout preview branch - name: Checkout preview branch
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -140,13 +125,3 @@ jobs:
owner: "Suwayomi" owner: "Suwayomi"
repo: "Tachidesk-preview" repo: "Tachidesk-preview"
tag: ${{ steps.GenTagName.outputs.value }} tag: ${{ steps.GenTagName.outputs.value }}
# - name: Upload Release
# uses: xresloader/upload-to-github-release@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# file: "master/server/build/*.jar;master/server/build/*.zip"
# draft: false
# verbose: true