Skip to content

fix: Sync macOS icon with Linux one #85

fix: Sync macOS icon with Linux one

fix: Sync macOS icon with Linux one #85

Workflow file for this run

name: flatpak
on:
workflow_dispatch:
push:
branches: [preview]
pull_request:
branches: [preview]
jobs:
build-flatpak:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged
steps:
- uses: actions/checkout@v4
- name: Build Flatpak
uses: flatpak/flatpak-github-actions/flatpak-builder@v6.1
with:
bundle: amiberry.flatpak
manifest-path: ./flatpak/com.blitterstudio.amiberry.yml
arch: x86_64
build-bundle: true
verbose: true
branch: preview
cache: true
restore-cache: true
cache-key: flatpak-builder-${{ github.sha }}
create-release:
needs: [build-flatpak]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/preview'
steps:
- name: Download Flatpak artifact
uses: actions/download-artifact@v1
with:
name: "amiberry-x86_64"
- name: Create Preview release
if: github.ref == 'refs/heads/preview'
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest-preview"
prerelease: true
title: "Latest Preview Build"
files: |
amiberry-x86_64/amiberry.flatpak