Change: Enhance graphics & power for KTX-EUM (#470) #319
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: [ main ] | |
pull_request: | |
branches: [ main ] | |
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 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_Train_Set_${{ steps.vars.outputs.sha_short }} # Name with sha short hash | |
path: generated/Korean_Train_Set*.tar |