Skip to content

Commit 352ec10

Browse files
committed
upgrade to imagej 1.53m3
1 parent 1714cae commit 352ec10

File tree

3 files changed

+18
-9
lines changed

3 files changed

+18
-9
lines changed

.github/workflows/build-site.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,16 @@ jobs:
2424
uses: actions/setup-node@v1
2525
with:
2626
node-version: ${{ matrix.node-version }}
27-
- run: npm ci
27+
- name: Cache dependencies
28+
uses: actions/cache@v2
29+
with:
30+
path: ~/.npm
31+
key: npm-${{ hashFiles('package-lock.json') }}
32+
restore-keys: npm-
33+
# fix git protocol https://github.com/orgs/community/discussions/26648#discussioncomment-3252721
34+
- run: git config --global url."[email protected]:".insteadOf git://github.com/
35+
- name: Install dependencies
36+
run: npm ci --ignore-scripts
2837
- run: npm run build
2938
- name: Get compiled imagej.js
3039
run: bash get-imagej.sh

get-imagej.bat

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
@echo off
22
REM The compiled files will be saved in ./dist
33

4-
REM download imagej 1.53j to make the transition smoother
5-
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
6-
tar -xvzf imagej-js-dist.tgz
7-
84
REM download imagej 1.53m to make the transition smoother
95
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
106
tar -xvzf imagej-js-dist.tgz
117

8+
REM download imagej 1.53m3 to make the transition smoother
9+
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
10+
tar -xvzf imagej-js-dist.tgz
11+
1212
del imagej-js-dist.tgz
1313

1414
if not exist dist mkdir dist

get-imagej.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
set -e
33

44

5-
# download imagej 1.53j to make the transition smoother
6-
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53j/imagej-js-dist.tgz
7-
tar -xvzf imagej-js-dist.tgz
8-
95
# download imagej 1.53m to make the transition smoother
106
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m/imagej-js-dist.tgz
117
tar -xvzf imagej-js-dist.tgz
128

9+
# download imagej 1.53m3 to make the transition smoother
10+
curl -OL https://github.com/imjoy-team/ImageJA.JS/releases/download/1.53m3/imagej-js-dist.tgz
11+
tar -xvzf imagej-js-dist.tgz
12+
1313
rm imagej-js-dist.tgz
1414

1515
mkdir -p dist

0 commit comments

Comments
 (0)