Skip to content

Commit

Permalink
testing datalad install using action
Browse files Browse the repository at this point in the history
  • Loading branch information
hvgazula committed Feb 13, 2024
1 parent 8c77843 commit 50f9ba1
Showing 1 changed file with 25 additions and 12 deletions.
37 changes: 25 additions & 12 deletions .github/workflows/osf_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,38 @@ jobs:
with:
python-version: 3.11

# - name: Install Datalad
# id: testing
# run: |
# sudo apt-get install datalad
# python3 -m pip install datalad-osf
# pip install requests
# git config --global user.name "hvgazula"
# git config --global user.email "[email protected]"

- name: Install Datalad
id: testing
run: |
sudo apt-get install datalad
python3 -m pip install datalad-osf
pip install requests
git config --global user.name "hvgazula"
git config --global user.email "[email protected]"
uses: datalad/datalad-action/install@main
- name: Checkout
uses: actions/checkout@v3
# - name: Get Datalad
# run: |
# datalad siblings
# datalad siblings
# - name: Download Dataset
# uses: datalad/datalad-action/get@main
# with:
# source: https://github.com/neuronets/test-aws

- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 0
# - name: Checkout the repo
# uses: actions/checkout@v4
# with:
# fetch-depth: 0

- name: Git-annex/Datalad add the weights
env:
OSF_TOKEN: ${{ secrets.OSF_TOKEN }}
run: |
datalad siblings
# datalad siblings
datalad download-url -m "Added cortex weights" https://neuronets.github.io/cortexode-forked/ckpts.zip
datalad push --to test-aws-storage
datalad push --to origin

0 comments on commit 50f9ba1

Please sign in to comment.