Skip to content

Commit

Permalink
testing upload artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
hvgazula committed Feb 7, 2024
1 parent a9a2ea6 commit a771aeb
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions .github/workflows/aws_runner_old.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,37 +93,37 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: example_aws4
path: example_aws4
path: /actions-runner/_work/test-aws/test-aws/PialNN/pialnn/1.0.0/data/example_aws4

datalad-push:
name: running datalad push as a separate job
needs: [start-runner, test-model]
runs-on: ${{ needs.start-runner.outputs.label }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: |
git config user.name
git config user.email
- name: configure git credentials
run: |
git config --system user.name "test_aws"
git config --system user.email "test_aws"
- run: tree
- name: Download artifacts
uses: actions/download-artifact@v2
with:
name: example_aws4
- name: datalad push
run: |
pwd
tree
datalad save -m "pushing new unzipped folder" PialNN/pialnn/1.0.0/data/example_aws4
datalad push -f all --to test-aws-storage
datalad push --to origin
env:
OSF_TOKEN: ${{ secrets.OSF_TOKEN }}
# datalad-push:
# name: running datalad push as a separate job
# needs: [start-runner, test-model]
# runs-on: ${{ needs.start-runner.outputs.label }}
# steps:
# - uses: actions/checkout@v4
# with:
# fetch-depth: 0
# - run: |
# git config user.name
# git config user.email
# - name: configure git credentials
# run: |
# git config --system user.name "test_aws"
# git config --system user.email "test_aws"
# - run: tree
# - name: Download artifacts
# uses: actions/download-artifact@v2
# with:
# name: example_aws4
# - name: datalad push
# run: |
# pwd
# tree
# datalad save -m "pushing new unzipped folder" PialNN/pialnn/1.0.0/data/example_aws4
# datalad push -f all --to test-aws-storage
# datalad push --to origin
# env:
# OSF_TOKEN: ${{ secrets.OSF_TOKEN }}

stop-runner:
name: Stop self-hosted EC2 runner
Expand Down

0 comments on commit a771aeb

Please sign in to comment.