Skip to content

Commit

Permalink
chore: bump action deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowee committed Nov 27, 2024
1 parent febdda8 commit 5af8f3b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
run: |
wasm-pack build --release -d pkg-bundler && wasm-pack build --release -d pkg-web -t web
- name: Upload pkg
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pkgs
path: |
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: pkgs
- name: Set NPM token
Expand All @@ -48,7 +48,7 @@ jobs:
run: |
cd pkg-bundler
jq '. |= . + {"keywords": ["wasm", "chinese", "simplified chinese", "traditional chinese", "language", "webpack", "l10n"]}' package.json | \
jq '.description = "🦀 Convert Trad/Simp Chinese and regional phrases among each other based on rules of MediaWiki and OpenCC 轉換中文简繁體及地區詞,基於MediaWiki和OpenCC之轉換表 (powered by Rust/WASM 驅動)"' \
jq '.description = "🦀 Trad/Simp Chinese and regional variants converter backed by MediaWiki and OpenCC rulesets 轉換中文简繁體及地區詞,基於MediaWiki和OpenCC之轉換表 (powered by Rust/WASM 驅動)"' \
> new-package.json
mv new-package.json package.json
npm publish
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
strip -v "$f" || echo "strip failed"
working-directory: ./cli
- name: Upload artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: binaries
path: cli/bin/
Expand All @@ -81,11 +81,11 @@ jobs:
if: "startsWith(github.ref, 'refs/tags/')"
needs: [compile]
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: binaries
- name: Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
*

0 comments on commit 5af8f3b

Please sign in to comment.