Skip to content

Commit

Permalink
fix version tag
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzzcn committed May 10, 2021
1 parent bc6d5fb commit fc8ce7b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Version
run: echo "Version::$(date +'%Y-%m-%dT%H:%M:%S')" >> $GITHUB_ENV
- name: Get current time
uses: 1466587594/get-current-time@v2
id: current-time
with:
format: YYYY-MM-DD
utcOffset: "+08:00"
- name: Install Requirements
run: pip install -r requirements.txt
- name: Download dicts
Expand All @@ -27,7 +31,7 @@ jobs:
- name: Release
uses: softprops/action-gh-release@v1
with:
tag_name: $Version
tag_name: "${{ steps.current-time.outputs.formattedTime }}"
files: |
./luna_pinyin.extended.dict.yaml
./luna_pinyin.extended/
Expand Down

0 comments on commit fc8ce7b

Please sign in to comment.