Skip to content

🎗️ Cliptopia v1.0.0+4-beta app-image release changes. #17

🎗️ Cliptopia v1.0.0+4-beta app-image release changes.

🎗️ Cliptopia v1.0.0+4-beta app-image release changes. #17

Workflow file for this run

name: Build
on: [push]
jobs:
Debian-AppImage:
runs-on: ubuntu-22.04
steps:
- name: Check out repository code
uses: actions/checkout@v2
- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.5'
- name: Prepare
run: |
flutter --disable-analytics
flutter doctor -v
sudo apt update
sudo apt install ninja-build libgtk-3-dev -y
dart pub global activate flutter_to_debian
- name: Build and Test
run: |
flutter pub get
flutter analyze || true
# flutter test
- name: Build Debian using flutter_to_debian
run: |
flutter build linux --release
flutter pub run flutter_to_debian:main
- name: Build AppImage using appimage-builder
uses: docker://appimagecrafters/appimage-builder:0.8.5
with:
entrypoint: appimage-builder
args: --recipe ./AppImageBuilder.yml --skip-test
- name: Save Debian build as artifact
uses: actions/upload-artifact@v2
with:
name: Debian
path: ./debian/packages/*.deb
- name: Save AppImage build as artifact
uses: actions/upload-artifact@v2
with:
name: AppImage
path: ./*.AppImage
- name: Release
if: false # TODO
uses: marvinpinto/action-automatic-releases@latest
with:
title: Continuous build
automatic_release_tag: 'continuous'
prerelease: true
draft: false
files: './*.AppImage*'
repo_token: ${{ secrets.GITHUB_TOKEN }}