Skip to content

Commit

Permalink
[shell-release]release version 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
94fzb committed Jul 19, 2024
1 parent 84d4241 commit 25cf751
Show file tree
Hide file tree
Showing 507 changed files with 38,180 additions and 6,814 deletions.
16 changes: 16 additions & 0 deletions .github/REAMD.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
```yaml
- name: Cache node modules admin
uses: actions/cache@v3
with:
path: admin-web/src/main/frontend/node_modules
key: ${{ runner.os }}-node-admin-${{ hashFiles('admin-web/src/main/frontend/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-admin-
- name: Cache node modules blog
uses: actions/cache@v3
with:
path: blog-web/src/main/frontend/node_modules
key: ${{ runner.os }}-node-blog-${{ hashFiles('blog-web/src/main/frontend/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-blog-
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ZrLog build preview package
name: build preview jar
on:
push:
branches:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: ZrLog build release package
name: build release jar
on:
push:
branches:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/macos-amd64-build-preview-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build on macos amd64 preview native
on:
push:
branches:
- master
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-13 ]
architecture: [ x86_64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
brew install coreutils
mkdir -p /tmp/download
bash -e bin/build-final-native.sh preview 预览版 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download preview
32 changes: 32 additions & 0 deletions .github/workflows/macos-amd64-build-release-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build on macos amd64 release native
on:
push:
branches:
- release
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-13 ]
architecture: [ x86_64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
brew install coreutils
mkdir -p /tmp/download
bash -e bin/build-final-native.sh release 正式版本 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download release
32 changes: 32 additions & 0 deletions .github/workflows/macos-arm64-build-preview-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build on macos arm64 preview native
on:
push:
branches:
- master
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest ]
architecture: [ arm64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
brew install coreutils
mkdir -p /tmp/download
bash -e bin/build-final-native.sh preview 预览版 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download preview
32 changes: 32 additions & 0 deletions .github/workflows/macos-arm64-build-release-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build on macos arm64 release native
on:
push:
branches:
- release
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ macos-latest ]
architecture: [ arm64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
brew install coreutils
mkdir -p /tmp/download
bash -e bin/build-final-native.sh release 正式版本 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download release
31 changes: 31 additions & 0 deletions .github/workflows/ubuntu-amd64-build-preview-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build on Linux amd64 preview native
on:
push:
branches:
- master
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ ubuntu-20.04 ]
architecture: [ amd64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
mkdir -p /tmp/download
bash -e bin/build-final-native.sh preview 预览版 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download preview
31 changes: 31 additions & 0 deletions .github/workflows/ubuntu-amd64-build-release-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build on Linux amd64 release native
on:
push:
branches:
- release
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ ubuntu-20.04 ]
architecture: [ amd64 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
mkdir -p /tmp/download
bash -e bin/build-final-native.sh release 正式版本 /tmp/download unix
bash -e bin/upload-bin.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download release
31 changes: 31 additions & 0 deletions .github/workflows/windows-amd64-build-preview-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build on Windows amd64 preview native
on:
push:
branches:
- master
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ windows-latest ]
architecture: [ x86 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
mkdir -p /tmp/download
bash -e bin/build-final-native.sh preview 预览版 /tmp/download windows
bash -e bin/upload-bin-windows.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download preview
31 changes: 31 additions & 0 deletions .github/workflows/windows-amd64-build-release-native.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: build on Windows amd64 release native
on:
push:
branches:
- release
jobs:
build:
name: ZrLog on ${{ matrix.os }} ${{ matrix.architecture }}
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ windows-latest ]
architecture: [ x86 ]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: graalvm/setup-graalvm@v1
with:
java-version: '21'
distribution: 'graalvm' # See 'Options' for all available distributions
cache: 'maven'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'

- name: Build and upload binary
run: |
mkdir -p /tmp/download
bash -e bin/build-final-native.sh release 正式版本 /tmp/download windows
bash -e bin/upload-bin-windows.sh ${{ secrets.SECRET_ID }} ${{ secrets.SECRET_KEY }} ${{ secrets.BUCKET }} /tmp/download release
23 changes: 7 additions & 16 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,12 @@ logs
.settings
target
hs_err*.log
web/src/backup
static/post
static/temp
static/_cache
static/attached
/static/
conf/classes
conf/plugins/*
static/include/templates/template*

web/include/templates/README.md
web/include/templates/*.sh
web/include/templates/.gitignore
web/log
web/logs
rebel.xml
tomcat.*
*.jar
!.mvn/wrapper/maven-wrapper.jar
*.hprof
Expand All @@ -39,18 +29,19 @@ sim.pid
.DS_Store
.vscode
pom.xml.versionsBackup
/web/include/templates/default-2019/
web/src/main/zrlog
web/src/main/lib
static/install
static/admin
conf/update-temp/zrlog.zip
/blog-web/src/main/frontend/node_modules/
/admin-web/src/main/frontend/node_modules/
zrlog.zip
release
/data/src/main/resources/build.properties
node_modules
*.zip
temp
cache
cache/**
._.DS_Store
zrlog.bgv
/zrlog
/conf/update-temp/
1
10 changes: 10 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.

# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart

tasks:
- init: ./mvnw install -DskipTests=false


Loading

0 comments on commit 25cf751

Please sign in to comment.