Update: Bump JGR's NML #42
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: Build | |
on: | |
push: | |
branches: [ master, jgrpp ] | |
pull_request: | |
branches: [ master, jgrpp ] | |
jobs: | |
build: | |
# On Ubuntu 20.04 | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Install Dependencies | |
run: | | |
pip3 install --upgrade Pillow | |
pip3 install --upgrade ply | |
git clone https://github.com/JGRennison/nml ./NML/ | |
- name: Build NewGRF | |
run: make all | |
- name: Set variables | |
id: vars | |
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD 2>/dev/null)" | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: Korean_Signal_Set_${{ steps.vars.outputs.sha_short }}.zip # Name with sha short hash | |
path: generated/Korean_Signal_Set*.tar |