Skip to content

Commit

Permalink
added steps in CI to get plugin meta
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Oct 1, 2024
1 parent 2d1e886 commit 32f129a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,22 @@ jobs:
readme-filepath: ./README.rst
repository: ${{ steps.determine.outputs.repo }}

- name: Get plugin info
id: plugininfo
run: |
description_file=$(mktemp --suffix .json)
cat > $description_file << ENDOFPLUGINJSONDESCRIPTION
${{ steps.pluginmeta.outputs.json }}
ENDOFPLUGINJSONDESCRIPTION
echo "::set-output name=description_file::$description_file"
- name: Upload ChRIS Plugin
id: upload
if: github.ref_type == 'tag'
uses: FNNDSC/upload-chris-plugin@v1
with:
dock_image: ${{ steps.info.outputs.local_tag }}
run: |
description_file=$(mktemp --suffix .json)
cat > $description_file << ENDOFPLUGINJSONDESCRIPTION
${{ steps.pluginmeta.outputs.json }}
ENDOFPLUGINJSONDESCRIPTION
description_file: ${{ description_file }}
description_file: ${{ steps.plugininfo.outputs.description_file }}
username: ${{ secrets.CHRISPROJECT_USERNAME }}
password: ${{ secrets.CHRISPROJECT_PASSWORD }}
chris_url: https://cube.chrisproject.org/api/v1/
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name = 'csv2json',
version = '1.2.7',
version = '1.2.8',
description = 'An app to convert CSV generated from pl-lld_inference to a JSON representation',
long_description = readme,
author = 'FNNDSC',
Expand Down

0 comments on commit 32f129a

Please sign in to comment.