Update update-release-v1.yml
This commit is contained in:
22
.github/workflows/update-release-v1.yml
vendored
22
.github/workflows/update-release-v1.yml
vendored
@@ -21,16 +21,6 @@ jobs:
|
|||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
|
||||||
uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: ${{ matrix.node-version }}
|
|
||||||
cache: 'npm'
|
|
||||||
- run: npm ci
|
|
||||||
- run: npm run build --if-present
|
|
||||||
- run: zip build.zip $(find build)
|
|
||||||
|
|
||||||
- name: Generate version
|
- name: Generate version
|
||||||
id: version
|
id: version
|
||||||
uses: paulhatch/semantic-version@v4.0.2
|
uses: paulhatch/semantic-version@v4.0.2
|
||||||
@@ -49,7 +39,17 @@ jobs:
|
|||||||
short_tags: true
|
short_tags: true
|
||||||
# If this is set to true, *every* commit will be treated as a new version.
|
# If this is set to true, *every* commit will be treated as a new version.
|
||||||
bump_each_commit: false
|
bump_each_commit: false
|
||||||
fetch-depth: 0
|
fetch-depth: branch
|
||||||
|
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'npm'
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: zip build.zip $(find build)
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Reference in New Issue
Block a user