Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Apr 8, 2024
1 parent 01bbe84 commit 7116e6f
Showing 1 changed file with 29 additions and 25 deletions.
54 changes: 29 additions & 25 deletions .github/workflows/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 7116e6f

Please sign in to comment.