mirror of
https://ghfast.top/https://github.com/zsjy/halo-theme-dream2.0-plus.git
synced 2025-03-15 17:49:40 +08:00
1.3.6
This commit is contained in:
parent
24a5fcc635
commit
e80527ef1d
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
@ -51,11 +51,8 @@ jobs:
|
|||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
# Actions构建
|
# 构建
|
||||||
- name: Build-Dev
|
- name: Build
|
||||||
if: ${{ env.branch_type != 'master' }}
|
|
||||||
run: npm run release --tag=${{ env.version }}
|
|
||||||
- name: Build-Master
|
|
||||||
if: ${{ env.branch_type == 'master' }}
|
if: ${{ env.branch_type == 'master' }}
|
||||||
run: npm run release --tag=${{ env.version }}
|
run: npm run release --tag=${{ env.version }}
|
||||||
env:
|
env:
|
||||||
@ -85,3 +82,12 @@ jobs:
|
|||||||
asset_path: ./dist/halo-theme-dream2.0-plus.zip
|
asset_path: ./dist/halo-theme-dream2.0-plus.zip
|
||||||
asset_name: halo-theme-dream2.0-plus-V${{ env.version }}.zip
|
asset_name: halo-theme-dream2.0-plus-V${{ env.version }}.zip
|
||||||
asset_content_type: application/zip
|
asset_content_type: application/zip
|
||||||
|
|
||||||
|
- name: npm ci
|
||||||
|
if: ${{ env.branch_type != 'master' }}
|
||||||
|
run: npm ci
|
||||||
|
- name: npm publish
|
||||||
|
if: ${{ env.branch_type != 'master' }}
|
||||||
|
run: npm publish --tag=latest
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||||
|
@ -30,7 +30,7 @@ spec:
|
|||||||
settingName: theme-dream2-plus-setting
|
settingName: theme-dream2-plus-setting
|
||||||
configMapName: theme-dream2-plus-configMap
|
configMapName: theme-dream2-plus-configMap
|
||||||
# 版本号
|
# 版本号
|
||||||
version: 1.3.6.beta1
|
version: 1.3.6
|
||||||
# 最低支持的 Halo 版本
|
# 最低支持的 Halo 版本
|
||||||
require: ">=2.20.0"
|
require: ">=2.20.0"
|
||||||
# 许可
|
# 许可
|
||||||
|
Loading…
x
Reference in New Issue
Block a user