Skip to content

Update main.yaml

Update main.yaml #22

Workflow file for this run

name: release-validate
on: [push, pull_request]
jobs:
build-love:
runs-on: macos-latest
permissions:
checks: write
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Download Builder
run: curl -L https://github.com/ellraiser/love-build/releases/download/v0.3/love-build-0.3-macos.zip > love-build-0.3.zip
- name: Extract Builder
run: |
unzip love-build-0.3.zip
- name: Run Builder
shell: bash
run: |
ls
chmod 755 love-build.app
chmod 755 love-build.app/Contents/MacOS/love
love-build.app/Contents/MacOS/love example-project/main.lua
- name: Check Run
shell: bash
run: |
unzip example-project/dist/1.0.0/ExampleGame-macos.zip
sudo chmod 755 ExampleGame.app
sudo ExampleGame.app/Contents/MacOS/love
exit 0