Skip to content

[6.2.0] 调整 ResourceReader 加载逻辑,不再迁移老版本 JSON 格式 #267

[6.2.0] 调整 ResourceReader 加载逻辑,不再迁移老版本 JSON 格式

[6.2.0] 调整 ResourceReader 加载逻辑,不再迁移老版本 JSON 格式 #267

Workflow file for this run

name: build
on:
push:
branches:
- dev/6.2.0
jobs:
build:
if: "contains(github.event.head_commit.message, 'dev')"
runs-on: ubuntu-latest
steps:
# 环境配置
- name: checkout repository
uses: actions/checkout@v2
- name: cache gradle packages
uses: actions/cache@v2
with:
key: ${{ runner.os }}-build-${{ env.cache-name }}
path: |
~/.gradle/caches
~/.gradle/wrapper
- name: validate gradle wrapper
uses: gradle/wrapper-validation-action@v1
- name: setup jdk 17
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 17
# 设置权限
- name: make gradle wrapper executable
run: chmod +x ./gradlew
# 编译测试
- name: publish dev
id: publish
continue-on-error: true
env:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
run: ./gradlew publish -Pdev -PtaboolibUsername=$NEXUS_USERNAME -PtaboolibPassword=$NEXUS_PASSWORD