Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
galipremsagar committed Apr 8, 2024
2 parents f5835e1 + 7116e6f commit 0559cdf
Showing 1 changed file with 31 additions and 25 deletions.
56 changes: 31 additions & 25 deletions .github/workflows/copy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +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/

# abc2

0 comments on commit 0559cdf

Please sign in to comment.