Skip to content

Commit

Permalink
Fix update workflow #2
Browse files Browse the repository at this point in the history
  • Loading branch information
thejetou committed Oct 30, 2023
1 parent 4457c51 commit 36a4515
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
path: damage-calc
path: damagecalc
- name: Checkout PS
uses: actions/checkout@v4
with:
repository: smogon/pokemon-showdown
path: pokemon-showdown
- name: Build damage-calc
- name: Build damagecalc
run: |-
cd damagecalc
cd import
npm install
npm run compile
cd ..
cd ..
- name: Build PS
run: |-
cd pokemon-showdown
Expand All @@ -35,8 +37,8 @@ jobs:
cd pokemon-showdown
node --max-old-space-size=4096 tools/set-import
cd ..
rsync -v --delete -r pokemon-showdown/tools/set-import/sets/ damage-calc/import/node_modules/@smogon/sets
cd damage-calc
rsync -v --delete -r pokemon-showdown/tools/set-import/sets/ damagecalc/import/node_modules/@smogon/sets
cd damagecalc
node import/ps-import
node import/import
- name: Commit and push if it changed
Expand Down

0 comments on commit 36a4515

Please sign in to comment.