Update CI to checkout@v4, upload-artifact@v4, action-gh-release@v2 #187
Workflow file for this run
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@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 |