Skip to content

updated docs

updated docs #36

Workflow file for this run

name: Build and Install
on:
push:
branches: [ maestro ]
pull_request:
branches: [ maestro ]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest] # , windows-latest deprecated
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18
- name: Install Dependencies and Build on Linux
if: runner.os == 'Linux'
run: |
bash ./install-libheif.sh
go test
GOOS=linux go build -o bin/heif-converter-linux
- name: Install Dependencies and Build on macOS
if: runner.os == 'macOS'
run: |
bash ./install-libheif-macos.sh
go test
GOOS=darwin go build -o bin/heif-converter-macos
- name: Archive Production Artifacts
uses: actions/upload-artifact@v3
with:
name: heif-converter-${{ runner.os }}
path: |
./bin/*
# - name: Commit and push
# run: |
# git config --local user.email "action@github.com"
# git config --local user.name "GitHub Action"
# git add ./bin/*
# git commit -m "Add binaries from build" -a
# git push