From 5aba7ef0b239a4598f954810377ba360f1a4a1d3 Mon Sep 17 00:00:00 2001 From: 0xZensh Date: Wed, 17 Jul 2024 14:52:43 +0800 Subject: [PATCH] chore: remove npm publishing --- .github/workflows/publish-crates.yml | 12 ------------ src/ic_oss_bucket/README.md | 4 ++++ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/.github/workflows/publish-crates.yml b/.github/workflows/publish-crates.yml index 1a6eaea..1e94449 100644 --- a/.github/workflows/publish-crates.yml +++ b/.github/workflows/publish-crates.yml @@ -12,15 +12,3 @@ jobs: with: registry-token: ${{ secrets.CARGO_REGISTRY_TOKEN }} ignore-unpublished-changes: true - - uses: actions/setup-node@v4 - with: - node-version: '20.x' - registry-url: 'https://registry.npmjs.org' - - run: | - cd src/ic_oss_ts - npm install - npm test - npm run build - npm publish - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/src/ic_oss_bucket/README.md b/src/ic_oss_bucket/README.md index 8af6c3b..a2b4269 100644 --- a/src/ic_oss_bucket/README.md +++ b/src/ic_oss_bucket/README.md @@ -6,6 +6,10 @@ **Online Demo**: https://a4gq6-oaaaa-aaaab-qaa4q-cai.raw.icp0.io/?id=mmrxu-fqaaa-aaaap-ahhna-cai +Download the file `0` in browser: +- by file id: `https://mmrxu-fqaaa-aaaap-ahhna-cai.icp0.io/f/0` +- by file hash: `https://mmrxu-fqaaa-aaaap-ahhna-cai.icp0.io/h/aff18ec0c48fecaae80ee7f506f3feddd8640f9c03a98aed1d4b7a39bb5c7fdc` + ## Features - [x] Supports large file uploads and downloads through file sharding, concurrent high-speed uploads, resumable uploads, and segmented downloads.