Skip to content

Commit

Permalink
Using working-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Jan 8, 2024
1 parent e265403 commit 952448a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/games-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 18
- name: Goto Directory
run: cd ./${{ inputs.game }}
- name: Echo Directory
run: pwd
- name: Install dependencies
working-directory: ./${{ inputs.game }}
run: npm ci
- name: Build Game
working-directory: ./${{ inputs.game }}
run: ${{ inputs.build-command }}

0 comments on commit 952448a

Please sign in to comment.