Merge pull request #36 from leicestersquare/master #11
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, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download gxc | |
run: | | |
curl -Lo tools.tar.gz https://github.com/IntelOrca/libsawyer/releases/download/v1.1.0/libsawyer-tools-linux-x64.tar.gz | |
mkdir -p "$GITHUB_WORKSPACE/bin" | |
tar -C "$GITHUB_WORKSPACE/bin" -xf tools.tar.gz | |
echo "$GITHUB_WORKSPACE/bin" >> $GITHUB_PATH | |
- name: Create graphics asset pack | |
run: node build.mjs --verbose | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: "OpenRCT2 Open Graphics Asset Pack" | |
path: out/**/* |