Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'release' && github.event.action == 'published'

defaults:
run:
shell: bash -leo pipefail {0}

steps:
- uses: actions/download-artifact@v4
with:
Expand All @@ -193,8 +197,20 @@ jobs:
- name: List files in artifact
run: find conda-packages -type f -name "*.tar.bz2"

- name: Setup micromamba and anaconda-client
uses: mamba-org/setup-micromamba@v1
with:
environment-name: test-env
create-args: >-
anaconda-client
init-shell: >-
bash

- name: Upload to Anaconda
run: |
export ANACONDA_API_TOKEN=${{ secrets.ANACONDA_TOKEN }}
find conda-packages -type f -name "*.tar.bz2" -exec anaconda upload {} \;
for file in $(find conda-packages -type f -name "*.tar.bz2"); do
echo "Uploading $file"
anaconda upload "$file"
done

2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Brain Imaging Analysis Kit
==========================

.. image:: https://github.com/brainiak/brainiak/actions/workflows/main.yml/badge.svg
.. image:: https://github.com/brainiak/brainiak/actions/workflows/ci.yml/badge.svg
:alt: Status of GitHub Actions workflow
:target: https://github.com/brainiak/brainiak/actions

Expand Down
Loading