diff --git a/.github/ISSUE_TEMPLATE/bug.md b/.github/ISSUE_TEMPLATE/bug.md deleted file mode 100644 index a104248..0000000 --- a/.github/ISSUE_TEMPLATE/bug.md +++ /dev/null @@ -1,37 +0,0 @@ ---- -name: "[ BUG ] " -about: 关于wvp的bug,与zlm有关的建议直接在zlm的issue中提问 -title: 'BUG' -labels: 'wvp的bug' -assignees: '' - ---- - -**环境信息:** - - - 1. 部署方式 wvp-pro docker / zlm(docker) + 编译wvp-pro/ wvp-prp + zlm都是编译部署/ - - 2. 部署环境 windows / ubuntu/ centos ... - - 3. 端口开放情况 - - 4. 是否是公网部署 - - 5. 是否使用https - - 6. 接入设备/平台品牌 - - 7. 你做过哪些尝试 - - 8. 代码更新时间 - - 9. 是否是4G设备接入 - -**描述错误** -描述下您遇到的问题 - -**如何复现** -有明确复现步骤的问题会很容易被解决 - -**截图** - -**抓包文件** - -**日志** -``` -日志内容放这里, 文件的话请直接上传 -``` - - diff --git a/.github/ISSUE_TEMPLATE/new.md b/.github/ISSUE_TEMPLATE/new.md deleted file mode 100644 index 7961421..0000000 --- a/.github/ISSUE_TEMPLATE/new.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -name: "[ 新功能 ]" -about: 新功能 -title: '希望wVP实现的新功能,此功能应与你的具体业务无关' -labels: '' -assignees: '' - ---- - -**项目的详细需求** - -**这样的实现什么作用** - diff --git a/.github/ISSUE_TEMPLATE/solve.md b/.github/ISSUE_TEMPLATE/solve.md deleted file mode 100644 index 473dbd1..0000000 --- a/.github/ISSUE_TEMPLATE/solve.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -name: "[ 技术咨询 ] " -about: 对于使用中遇到问题 -title: '技术咨询' -labels: '技术咨询' -assignees: '' - ---- - -**环境信息:** - - - 1. 部署方式 wvp-pro docker / zlm(docker) + 编译wvp-pro/ wvp-prp + zlm都是编译部署/ - - 2. 部署环境 windows / ubuntu/ centos ... - - 3. 端口开放情况 - - 4. 是否是公网部署 - - 5. 是否使用https - - 6. 方便的话提供下使用的设备品牌或平台 - - 7. 你做过哪些尝试 - - 8. 代码更新时间(旧版本请更新最新版本代码测试) - - -**内容描述:** - -**截图** - -**抓包文件** - -**日志** -``` -日志内容放这里, 文件的话请直接上传 -``` diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml deleted file mode 100644 index 5e41eeb..0000000 --- a/.github/workflows/build.yml +++ /dev/null @@ -1,75 +0,0 @@ -name: release-ubuntu - -on: - push: - tags: - - "v*.*.*" # 触发条件是推送标签 如git tag v2.7.4 git push origin v2.7.4 - -jobs: - build-ubuntu: - runs-on: ubuntu-latest - strategy: - matrix: - arch: [amd64] - max-parallel: 1 # 最大并行数 - steps: - - name: Checkout - uses: actions/checkout@v4 # github action运行环境 - - - name: Create release # 创建文件夹 - run: | - rm -rf release - mkdir release - echo ${{ github.sha }} > Release.txt - cp Release.txt LICENSE release/ - cat Release.txt - - - name: Set up JDK 1.8 - uses: actions/setup-java@v4 - with: - # Eclipse基金会维护的开源Java发行版 因为github action参考java的用这个 所以用这个 - # 还有microsoft(微软维护的openjdk发行版) oracle(商用SDK)等 - distribution: 'temurin' - java-version: '8' - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: '20.x' # Node.js版本 20系列的最新稳定版 - - - name: Compile backend - run: | - mvn package - mvn package -P war - - - name: Compile frontend - run: | - cd ./web - npm install - npm run build:prod - cd ../ - - - name: Package Files - run: | - cp -r ./src/main/resources/static release/ # 复制前端文件 - cp ./target/*.jar release/ # 复制 JAR 文件 - cp ./src/main/resources/application-dev.yml release/application.yml - - BRANCH=${{ github.event.base_ref }} - BRANCH_NAME=$(echo "$BRANCH" | grep -oP 'refs/heads/\K.*') - echo "BRANCH_NAME= ${BRANCH_NAME}" - # 如果无法获取,使用默认分支 - if [[ -z "BRANCH_NAME" ]]; then - BRANCH_NAME="${{ github.event.repository.default_branch }}" - fi - - TAG_NAME="${GITHUB_REF#refs/tags/}" - ZIP_FILE_NAME="${BRANCH_NAME}-${TAG_NAME}.zip" - zip -r "$ZIP_FILE_NAME" release - echo "ZIP_FILE_NAME=$ZIP_FILE_NAME" >> $GITHUB_ENV - - - name: Release - uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') - with: - files: ${{ env.ZIP_FILE_NAME }} \ No newline at end of file