Skip to content

Update main.yaml

Update main.yaml #23

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 Love
run: |
curl -L -H "Accept: application/vnd.github+json" -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" --output love12.zip --url "https://api.github.com/repos/love2d/love/actions/artifacts/1348650151/zip"
7z x love12.zip -o*
7z x love12/love-macos.zip -o*
- name: Run Builder
run: love-macos/love.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