Skip to content

Commit

Permalink
Add an Action to test parse the plugin (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
warp-core authored Feb 3, 2024
1 parent 8aa0ff4 commit b736d12
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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:
- 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 endless-sky -Force
cd .\endless-sky
mkdir plugins
cd .\plugins
mkdir world-forge
- uses: actions/checkout@v4
with:
path: '.\endless-sky\plugins\world-forge'
- name: Parse Datafiles
run: "'.\\endless-sky\\Endless Sky.exe' -p"
shell: bash

0 comments on commit b736d12

Please sign in to comment.