Skip to content

Commit

Permalink
Put the temp folder inside the tools folder
Browse files Browse the repository at this point in the history
Lua can not navigate 'beyond' the root
  • Loading branch information
Garanas committed Apr 30, 2024
1 parent 4dffe8c commit 5c2688e
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,22 +50,22 @@ jobs:
- name: Prepare for the script
shell: bash
run: |
mkdir temp
mkdir temp/units
mkdir temp/lua
mkdir tools/temp
mkdir tools/temp/units
mkdir tools/temp/lua
mv -f fa/units/* temp/units
mv -f nomads/units/* temp/units
mv fa/lua/version.lua temp/lua/version.lua
mv -f fa/units/* tools/temp/units
mv -f nomads/units/* tools/temp/units
mv fa/lua/version.lua tools/temp/lua/version.lua
ls -asR temp/lua
ls -asR tools/temp/lua
- name: Run the script
shell: pwsh
working-directory: tools # script expects this directory
run: |
lua -v
pwsh ./index.ps1 -target ../app -inputUnits "../temp/units" -inputLua "../temp/Lua"
pwsh ./index.ps1 -target ../app -inputUnits "temp/units" -inputLua "temp/lua"
- name: Add the generated file as an artifact
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 5c2688e

Please sign in to comment.