Debug GitHubActions #1
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: Debug GitHubActions | |
on: | |
workflow_dispatch: | |
inputs: | |
name: | |
description: 'Version name (default is ref name)' | |
env: | |
# $VERSION is used by release scripts | |
VERSION: ${{ github.event.inputs.name || github.ref_name }} | |
jobs: | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
brew update | |
brew install meson ninja nasm ffmpeg sdl2 libusb | |
- name: Build macOS | |
run: release/build_macos.sh | |
- name: Package | |
run: release/package_client.sh macos tar.gz | |
- name: Upload release artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: macos-debug-${{ env.VERSION }} | |
path: release/output |