Skip to content

Commit

Permalink
chore: test git action params
Browse files Browse the repository at this point in the history
  • Loading branch information
Liar0320 committed Apr 8, 2024
1 parent a1d2d55 commit 06be4b6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,20 @@ jobs:
with:
node-version: "18"

- name: Pick up version
id: version
run: echo ::set-output name=value::$(date +%Y%m%d%H%M%S)

- name: Console the version
run: echo ${{steps.version.outputs.value}}

- name: Pick the repository name
id: repository_name
run: echo ::set-output name=value::$(basename "${{ github.repository }}")

- name: Console the repository name & version
run: echo ${{steps.repository_name.outputs.value}}

# 安装依赖,包括我们的 semantic-release 全套
- name: Install
run: |
Expand Down

0 comments on commit 06be4b6

Please sign in to comment.