Skip to content

Fix: github workflow #337

Fix: github workflow

Fix: github workflow #337

Workflow file for this run

name: Build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
# On Ubuntu 22.04
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name: Install Dependencies
run: |
pip install nml
- name: Build NewGRF
run: make all
- name: Set variables
id: vars
run: echo "sha_short=$(git rev-parse --short HEAD 2>/dev/null)" >> $GITHUB_OUTPUT
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: Korean_Train_Set_${{ steps.vars.outputs.sha_short }} # Name with sha short hash
path: generated/544b5555-Korean_Train_Set*.tar