mirror of
https://gitee.com/layui/layui.git
synced 2025-06-28 13:34:27 +08:00
This commit is contained in:
parent
f3d68a4e86
commit
c10837393b
4
.github/workflows/release-npm.yml
vendored
4
.github/workflows/release-npm.yml
vendored
@ -9,8 +9,8 @@ jobs:
|
|||||||
publish-npm:
|
publish-npm:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 16
|
node-version: 16
|
||||||
registry-url: https://registry.npmjs.org
|
registry-url: https://registry.npmjs.org
|
||||||
|
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -66,12 +66,12 @@ jobs:
|
|||||||
mv dist layui
|
mv dist layui
|
||||||
mv layui $DIR_NAME/
|
mv layui $DIR_NAME/
|
||||||
mv examples/introduce/* $DIR_NAME/
|
mv examples/introduce/* $DIR_NAME/
|
||||||
zip -r $DIR_NAME.zip $DIR_NAME
|
7z a $DIR_NAME.zip $DIR_NAME
|
||||||
echo "filename=$DIR_NAME" >> $GITHUB_OUTPUT
|
echo "filename=$DIR_NAME" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: GH Release
|
- name: GH Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v0.1.15
|
uses: softprops/action-gh-release@v2
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user