-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing datalad install using action
- Loading branch information
Showing
1 changed file
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
uses: datalad/datalad-action/install@main | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Get Datalad | ||
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]" | ||
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 download-url -m "Added cortex weights" https://neuronets.github.io/cortexode-forked/ckpts.zip | ||
datalad push --to test-aws-storage | ||
datalad push --to origin | ||
# - name: Git-annex/Datalad add the weights | ||
# env: | ||
# OSF_TOKEN: ${{ secrets.OSF_TOKEN }} | ||
# run: | | ||
# 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 |