make windows package with packr

This commit is contained in:
Aria Moradi
2021-05-17 11:20:24 +04:30
parent 104c5a8d83
commit 9c55fc3868
8 changed files with 98 additions and 90 deletions
+9 -3
View File
@@ -59,12 +59,13 @@ jobs:
**/react/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/react/yarn.lock') }}
- name: Build and copy webUI, Build Jar and launch4j
- name: Build and copy webUI, Build Jar
uses: eskatos/gradle-command-action@v1
with:
build-root-directory: master
wrapper-directory: master
arguments: :webUI:copyBuild :server:windowsPackage --stacktrace
# arguments: :webUI:copyBuild :server:shadowJar --stacktrace
arguments: :server:shadowJar --stacktrace
wrapper-cache-enabled: true
dependencies-cache-enabled: true
configuration-cache-enabled: true
@@ -75,6 +76,11 @@ jobs:
ref: preview
path: preview
- name: make windows package
run: |
cd master/scripts
./windows-bundler.sh
- name: Deploy preview
run: |
./master/.github/scripts/commit-preview.sh
./master/.github/scripts/commit-preview.sh