Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Pylogmon authored Jun 27, 2024
1 parent 5b170dc commit 9d49aa9
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,16 @@ jobs:
run: |
echo "NAME=$(cat info.json | jq '.id' | tr -d '"')" >> "$GITHUB_ENV"
echo "ICON=$(cat info.json | jq '.icon' | tr -d '"')" >> "$GITHUB_ENV"
- name: Download Database
run: wget https://github.com/skywind3000/ECDICT/releases/download/1.0.28/ecdict-sqlite-28.zip
- name: extract-7z-action
uses: DuckSoft/[email protected]
with:
pathSource: ecdict-sqlite-28.zip
pathTarget: Database
- uses: vimtor/action-zip@v1
with:
files: info.json ${{ env.ICON }} main.js
files: info.json ${{ env.ICON }} main.js Database
dest: ${{ env.NAME }}.potext
- name: Upload Artifacts
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 9d49aa9

Please sign in to comment.