Skip to content

Changes to support updating the ffmpeg path from the settings tab #3 #42

Changes to support updating the ffmpeg path from the settings tab #3

Changes to support updating the ffmpeg path from the settings tab #3 #42

name: Build for MacOS Intel
on: [push]
jobs:
build:
runs-on: macos-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set env
run: if grep -Fxq "devel" cmd/go2tv/version.txt;then echo "GO2TV_VERSION=$(cat cmd/go2tv/version.txt)";else echo "GO2TV_VERSION=v$(cat cmd/go2tv/version.txt)";fi >> $GITHUB_ENV
- uses: WillAbides/setup-go-faster@v1.11.0
id: setup-go-faster
with:
go-version: "*"
- name: Install fyne
run: go install fyne.io/fyne/v2/cmd/fyne@latest
- name: Package (macOS)
run: cd cmd/go2tv && fyne package --release -os darwin -icon ../../assets/go2tv-icon-desktop.png && mv go2tv.app ../../
- uses: actions/upload-artifact@v2
with:
name: go2tv_${{ env.GO2TV_VERSION }}_macOS_amd64
path: |
LICENSE
README.md
go2tv.app/
retention-days: 2