Skip to content

Commit

Permalink
upgrade to imagej 1.53m3
Browse files Browse the repository at this point in the history
  • Loading branch information
oeway committed Apr 9, 2024
1 parent 1714cae commit 352ec10
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
11 changes: 10 additions & 1 deletion .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- name: Cache dependencies
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-
# fix git protocol https://github.com/orgs/community/discussions/26648#discussioncomment-3252721
- run: git config --global url."git@github.com:".insteadOf git://github.com/
- name: Install dependencies
run: npm ci --ignore-scripts
- run: npm run build
- name: Get compiled imagej.js
run: bash get-imagej.sh
Expand Down
8 changes: 4 additions & 4 deletions get-imagej.bat
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@echo off
REM The compiled files will be saved in ./dist

REM download imagej 1.53j to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

REM download imagej 1.53m to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

REM download imagej 1.53m3 to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

del imagej-js-dist.tgz

if not exist dist mkdir dist
Expand Down
8 changes: 4 additions & 4 deletions get-imagej.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
set -e


# download imagej 1.53j to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

# download imagej 1.53m to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

# download imagej 1.53m3 to make the transition smoother
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
tar -xvzf imagej-js-dist.tgz

rm imagej-js-dist.tgz

mkdir -p dist
Expand Down

0 comments on commit 352ec10

Please sign in to comment.