Skip to content

Commit

Permalink
Update name of artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
Garanas committed Apr 30, 2024
1 parent e81e8a2 commit 4dffe8c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ jobs:
permissions: write-all
runs-on: ubuntu-latest
steps:
# - name: Checks and balances
# shell: bash
# run: |
# lua -v
# python -v
# pwsh -v
# git -v
# echo "$(which lua)" >> $GITHUB_PATH
# echo $GITHUB_PATH

- name: Checkout spooky db code
uses: actions/checkout@v4
with: # todo: remove when done
Expand Down Expand Up @@ -68,6 +58,8 @@ jobs:
mv -f nomads/units/* temp/units
mv fa/lua/version.lua temp/lua/version.lua
ls -asR temp/lua
- name: Run the script
shell: pwsh
working-directory: tools # script expects this directory
Expand All @@ -78,6 +70,6 @@ jobs:
- name: Add the generated file as an artifact
uses: actions/upload-artifact@v4
with:
name: changelog
name: generated-blueprint-information.json
path: |
app/data/index.json
1 change: 0 additions & 1 deletion tools/index.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ Function Run {
Write-Progress -Activity "Creating unit index"
$json = Create-UnitIndex "$inputUnits" "$inputLua/version.lua"
$Utf8NoBomEncoding = New-Object System.Text.UTF8Encoding($False)
# [System.IO.File]::WriteAllLines("$target\data\index.json" , $json, $Utf8NoBomEncoding)
Set-Content -Path "$target\data\index.json" -Value $json

echo "$target\data\index.json"
Expand Down

0 comments on commit 4dffe8c

Please sign in to comment.