Skip to content

Commit 1a487cd

Browse files
committed
<build>: fix github-actions-demo.yml
1 parent 06e2040 commit 1a487cd

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

.github/workflows/github-actions-demo.yml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,26 @@ on:
66
pull_request:
77
branches: [main]
88
jobs:
9-
Explore-GitHub-Actions:
9+
Explore-Scripts:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
1313
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
1414
- run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
15+
1516
- name: Check out repository code
1617
uses: actions/checkout@v4
1718
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
1819
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
20+
1921
- name: List files in the repository
2022
run: |
2123
ls ${{ github.workspace }}
2224
- run: echo "🍏 This job's status is ${{ job.status }}."
23-
Test-Descriptive-Statistics:
24-
runs-on: ubuntu-latest
25-
steps:
26-
- run: echo "This job tests exercise problem in DescriptiveStatistics directory "
27-
- name: Check out repository code
28-
uses: actions/checkout@v4
29-
- run: echo "💡 The ${{ github.repository }} repository has been cloned to the runner."
30-
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
25+
3126
- name: List files in the repository
3227
run: |
33-
echo "Listing all files in DescriptiveStatistics of the workspace directory "
34-
find ${{ github.workspace }} -mindepth 2 -type f
28+
TARGET_FOLDER = "${{ github.workspace }}/DescriptiveStatistics"
29+
echo "Listing all files in $TARGET_FOLDER of the workspace directory "
30+
find $TARGET_FOLDER -mindepth 2 -type f -name "*.py"
3531
- run: echo "🍏 This job's status is ${{ job.status }}."

0 commit comments

Comments
 (0)