Skip to content

Update CI to checkout@v4, upload-artifact@v4, action-gh-release@v2 #187

Update CI to checkout@v4, upload-artifact@v4, action-gh-release@v2

Update CI to checkout@v4, upload-artifact@v4, action-gh-release@v2 #187

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download ffmpeg, zip
run: sudo apt-get update && sudo apt-get install -y ffmpeg zip
- name: Create music objects
run: node build.mjs --verbose
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: "OpenRCT2 OpenMusic Objects"
path: out/**/*
- name: Create release
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/v')
with:
fail_on_unmatched_files: true
files: artifacts/openmusic.zip