Skip to content

Commit

Permalink
Update scan-simples.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
BatistaGabriel authored Apr 27, 2024
1 parent 537eff9 commit c8c4571
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/scan-simples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,17 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
path: 'pisc-2024'

- name: Set project directory
run: |
PROJECT_DIR=$(find pisc-2024 -mindepth 2 -maxdepth 2 -type d -name "day-*" | head -n 1)
echo "Project directory: $PROJECT_DIR"
echo "::set-env name=PROJECT_DIR::$PROJECT_DIR"
- name: Navigate to project directory
run: cd pisc-2024/day-1
run: cd ${{ env.PROJECT_DIR }}

- name: Install dependencies
run: npm install
Expand Down

0 comments on commit c8c4571

Please sign in to comment.