Skip to content

Commit

Permalink
Update workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Apr 30, 2024
1 parent 39b5af3 commit fe124f7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,6 @@ jobs:
mv -f nomads/units/* tools/temp/units
mv fa/lua/version.lua tools/temp/lua/version.lua
ls -asR tools/temp/lua
- name: Run the script
shell: pwsh
working-directory: tools # script expects this directory
Expand All @@ -84,14 +82,14 @@ jobs:

- name: Store the game version
id: gameVersionJSON
if: ${{ github.event.inputs.update }}
if: ${{ github.event.inputs.update == true }}
working-directory: app/data
run: |
json=`cat ./version.json`
echo "json=$json" >> $GITHUB_OUTPUT
- name: Add the generated file as an artifact
if: ${{ github.event.inputs.update }}
if: ${{ github.event.inputs.update == true }}
working-directory: app/data
run: |
git config user.email "[email protected]"
Expand Down

0 comments on commit fe124f7

Please sign in to comment.