Skip to content

Commit

Permalink
Update CI script
Browse files Browse the repository at this point in the history
  • Loading branch information
lomirus committed Aug 31, 2024
1 parent 71aa5e9 commit 5d1c523
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ jobs:
- run: git config --global user.email '[email protected]'
- run: git fetch
- run: git checkout bundled
- run: mv output/lexicon.json lexicon.json
# Keep the old file name in order to ensure the backwards compatibility of Enthrirhc
- run: mv output/lexicon_en.json lexicon.json
- run: git add lexicon.json
- run: git commit -m "Update bundled lexicon"
- run: git push origin bundled
- uses: ncipollo/release-action@v1
with:
allowUpdates: true
artifacts: "output/lexicon.json"
artifacts: "output/lexicon_zh.json,output/lexicon_en.json"
tag: lastest
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5d1c523

Please sign in to comment.