Skip to content

Commit 4b136f5

Browse files
committed
main2.md
1 parent 06cdd45 commit 4b136f5

2 files changed

Lines changed: 5 additions & 67 deletions

File tree

.github/workflows/cd.yml

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,13 @@ on:
1616
required: false
1717
default: ""
1818
schedule:
19-
- cron: "*/3 * * * *"
19+
- cron: "*/3 8 * * *"
2020

2121
jobs:
2222
cd:
2323
runs-on: ubuntu-latest
2424

2525
steps:
26-
- name: output
27-
run: |
28-
echo ${{ github.ref }}
29-
echo ${{ github.event_name }}
30-
echo ${{ github.event.inputs.version }}
31-
echo ${{ github.event.inputs.preid }}
32-
echo ${{ github.event.inputs.force }}
33-
3426
- name: Validate inputs
3527
if: ${{ github.event_name == 'workflow_dispatch' && ((github.ref != 'refs/heads/dev' && github.ref != 'refs/heads/main') || (github.ref == 'refs/heads/dev' && (!startsWith(github.event.inputs.version, 'pre') || github.event.inputs.preid != 'alpha')) || (github.ref == 'refs/heads/main' && startsWith(github.event.inputs.version, 'pre') && github.event.inputs.preid != 'rc')) }}
3628
run: |
@@ -58,15 +50,15 @@ jobs:
5850
5951
- name: Setup git
6052
run: |
61-
git config --global user.name 'LongOddCode'
62-
git config --global user.email 'haolong@microsoft.com'
53+
git config --global user.name 'MSFT-yiz'
54+
git config --global user.email 'yiz@microsoft.com'
6355
64-
- name: daily release npm packages to npmjs.org
56+
- name: release alpha npm packages to npmjs.org
6557
if: ${{ github.event_name == 'schedule' }}
6658
run: |
6759
npx lerna publish --no-private --preid=alpha --dist-tag=alpha prerelease --yes
6860
69-
- name: release prerelease npm packages to npmjs.org
61+
- name: release rc npm packages to npmjs.org
7062
if: ${{ github.event_name == 'workflow_dispatch' && startsWith(github.event.inputs.version, 'pre') }}
7163
run: |
7264
npx lerna publish --no-private --preid=${{ github.event.inputs.preid }} --dist-tag=${{ github.event.inputs.preid }} ${{ github.event.inputs.version }} --yes ${{ github.event.inputs.force }}

.github/workflows/vsce.yml

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)