-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (42 loc) · 1.31 KB
/
osf_test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: osf_test
on: workflow_dispatch
permissions: write-all
jobs:
create_new_branch:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v4
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
uses: datalad/datalad-action/install@main
- name: Checkout
uses: actions/checkout@v3
- name: Get Datalad
run: |
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: 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