From a771aeba0d0c1c9cf50f4f70020bdd3ac30b8687 Mon Sep 17 00:00:00 2001 From: Harsha Gazula Date: Tue, 6 Feb 2024 20:52:42 -0500 Subject: [PATCH] testing upload artifact --- .github/workflows/aws_runner_old.yml | 60 ++++++++++++++-------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/.github/workflows/aws_runner_old.yml b/.github/workflows/aws_runner_old.yml index f9ea756..87fbdc7 100644 --- a/.github/workflows/aws_runner_old.yml +++ b/.github/workflows/aws_runner_old.yml @@ -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