Skip to content

fix: Fixed intensity calculation for EVs #88

fix: Fixed intensity calculation for EVs

fix: Fixed intensity calculation for EVs #88

Workflow file for this run

name: Release to Update Site
on:
push:
branches: [main] # Trigger the workflow on push to the master branch
release:
types: [created]
jobs:
build_release:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/vscode/devcontainers/java:0-8
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build with Docker
run: ./build.sh
- name: Upload EVAnalyzer.jar
uses: actions/upload-artifact@v2
with:
name: EVAnalyzer
path: |
./bin/EVAnalyzer.jar
./libs/evanalyzer
retention-days: 2
depoly_release:
if: github.event_name == 'release' && github.event.action == 'created'
needs: build_release
runs-on: ubuntu-latest
env:
IJ_DOWNLOAD_URL: https://downloads.imagej.net/fiji/latest/fiji-linux64.zip
WIKI_USER: ${{ secrets.FIJI_SITES_USERNAME }}
UPDATE_PASS: ${{ secrets.FIJI_SITES_PASSWORD }}
UPDATE_SITE: evanalyzer
steps:
- name: Download build from step before
uses: actions/download-artifact@v2
with:
name: EVAnalyzer
- name: Install ImageJ/Fiji
run: |
ls -l
wget --no-check-certificate ${IJ_DOWNLOAD_URL}
unzip fiji-linux64.zip
- name: Update ImageJ
run: |
./Fiji.app/ImageJ-linux64 --headless --update edit-update-site ${UPDATE_SITE} https://sites.imagej.net/${UPDATE_SITE}/ "webdav:${WIKI_USER}:${UPDATE_PASS}" .
./Fiji.app/ImageJ-linux64 --headless --update update
- name: Release to ImageJ update site
run: |
cp ./bin/EVAnalyzer.jar ./Fiji.app/plugins/EVAnalyzer.jar
mkdir -p ./Fiji.app/jars/evanalyzer
cp -r ./libs/evanalyzer/* ./Fiji.app/jars/evanalyzer
./Fiji.app/ImageJ-linux64 --headless --update upload-complete-site --force ${UPDATE_SITE}