From 7116e6f0691c51c5a6ab3538158eda7b78def32f Mon Sep 17 00:00:00 2001 From: galipremsagar Date: Mon, 8 Apr 2024 01:06:58 +0000 Subject: [PATCH] test --- .github/workflows/copy.yml | 54 ++++++++++++++++++++------------------ 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/.github/workflows/copy.yml b/.github/workflows/copy.yml index 0c56d450f5e..e01b3db696d 100644 --- a/.github/workflows/copy.yml +++ b/.github/workflows/copy.yml @@ -6,30 +6,34 @@ on: push: jobs: - echo_job: - runs-on: ubuntu-latest - steps: - - name: Echo abc - run: echo 'abc' - - name: Checkout repository - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.x' - - name: Generate text file - run: | - echo '{"context":"Pandas tests", "description":"90/100", "state":"success", "job_name": "${{ github.job }}"}' > gh-status.json - echo "### Hello world1! :rocket:" >> $GITHUB_STEP_SUMMARY - - name: Upload file to GitHub Artifact1 - uses: actions/upload-artifact@v4 - with: - name: gh-status - path: gh-status.json - - name: Download artifact - uses: actions/download-artifact@v4 - with: - name: gh-status - path: downloaded_artifacts/ + call-reusable-workflow: + uses: galipremsagar/test-actions/.github/workflows/echo_workflow.yml@main + with: + python-version: '3.x' + # echo_job: + # runs-on: ubuntu-latest + # steps: + # - name: Echo abc + # run: echo 'abc' + # - name: Checkout repository + # uses: actions/checkout@v4 + # - name: Set up Python + # uses: actions/setup-python@v4 + # with: + # python-version: '3.x' + # - name: Generate text file + # run: | + # echo '{"context":"Pandas tests", "description":"90/100", "state":"success", "job_name": "${{ github.job }}"}' > gh-status.json + # echo "### Hello world1! :rocket:" >> $GITHUB_STEP_SUMMARY + # - name: Upload file to GitHub Artifact1 + # uses: actions/upload-artifact@v4 + # with: + # name: gh-status + # path: gh-status.json + # - name: Download artifact + # uses: actions/download-artifact@v4 + # with: + # name: gh-status + # path: downloaded_artifacts/ # abc