Add an Action to test parse the plugin #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- master | |
- releases/v[0-9]+.[0-9]+.[0-9]+ | |
pull_request: | |
types: [opened, synchronize] | |
concurrency: | |
group: ${{ github.ref }}-${{ github.workflow }}-${{ github.event_name }} | |
cancel-in-progress: true | |
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@v4 | |
# with: | |
# repository: 'endless-sky/endless-sky' | |
- name: Download latest continuous | |
run: gh release download -R endless-sky/endless-sky continuous -p ${{ env.CONTINUOUS }} | |
- name: Extract and prepare continuous | |
run: | | |
Expand-Archive ${{ env.CONTINUOUS }} -DestinationPath continuous -Force | |
cd .\continuous | |
mkdir plugins | |
cd .\plugins | |
mkdir world-forge | |
- uses: actions/checkout@v4 | |
with: | |
path: '.\continuous\plugins\world-forge' | |
- name: Parse Datafiles | |
run: | | |
cd .\continuous | |
"'./Endless Sky.exe' -p --debug" |