-
-
Notifications
You must be signed in to change notification settings - Fork 2
44 lines (42 loc) · 1.42 KB
/
release_builds.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: Release App
on:
workflow_dispatch:
jobs:
linux:
runs-on: ubuntu-22.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
- name: Generate App Version
id: app_version
run: echo "value=$(yq '.version' pubspec.yaml)" >> $env:GITHUB_OUTPUT
- name: Print AppVersion
run: echo "AppVersion=${{ steps.app_version.outputs.value }}"
# jobs:
# linux:
# runs-on: ubuntu-22.04
# steps:
# - name: Git Checkout
# uses: actions/checkout@v3
# - name: Apply Flutter Environment
# uses: subosito/flutter-action@v2
# with:
# channel: "stable"
# architecture: x64
# - name: Install dependencies
# run: sudo apt-get install -y clang cmake ninja-build pkg-config libgtk-3-0 libgtk-3-dev libblkid1 liblzma5
# - name: Enable Linux
# run: flutter config --enable-linux-desktop
# - name: Activate Packaging Tool
# run: dart pub global activate flutter_distributor
# - name: Build App
# run: flutter_distributor release --name bundle --jobs linux
# - name: Generate App Version
# id: app_version
# run: echo "value=$(yq '.version' pubspec.yaml)" >> $env:GITHUB_OUTPUT
# - name: Github Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: ${{ steps.app_version.outputs.value }}
# files: |
# dist/*/*