Skip to content

Commit

Permalink
added script error check (thx to TheGiraffe3)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuckung committed Dec 12, 2024
1 parent 3cef706 commit 8be95a7
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .github/workflows/(on push) data check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: (on push) data script check
on:
push:
paths:
- 'myplugins/**'
jobs:
test-parse:
name: Data Files
runs-on: windows-2022
env:
CONTINUOUS: EndlessSky-win64-continuous.zip
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Download
run: gh release download -R endless-sky/endless-sky continuous -p ${{ env.CONTINUOUS }}
- name: Extract & prepare continuous
run: |
mkdir endless-sky
Expand-Archive ${{ env.CONTINUOUS }} -DestinationPath endless-sky -Force
rmdir .\myplugins\additional.command.buttons.radial -Recurse -Force
move .\myplugins .\endless-sky\plugins
# delete additional.command.buttons.radial because it has android scripts
- name: Parse Datafiles
run: "'.\\endless-sky\\Endless Sky.exe' -p"
shell: bash
2 changes: 1 addition & 1 deletion .github/workflows/(on push) spellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: (on push) Spellcheck
name: (on push) spellcheck

on: [push, pull_request]

Expand Down

0 comments on commit 8be95a7

Please sign in to comment.