Flatpak
This commit is contained in:
parent
fedc0eb13f
commit
39bc3c84c9
|
|
@ -17,8 +17,8 @@ jobs:
|
||||||
build-flutter-app:
|
build-flutter-app:
|
||||||
name: Build Flutter app
|
name: Build Flutter app
|
||||||
env:
|
env:
|
||||||
api_secret: ${{secrets.api_secret}}
|
api_secret: ${{ secrets.api_secret }}
|
||||||
commit_secret: ${{secrets.commit_secret}}
|
commit_secret: ${{ secrets.commit_secret }}
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -43,13 +43,12 @@ jobs:
|
||||||
- name: Prepare App
|
- name: Prepare App
|
||||||
run: |
|
run: |
|
||||||
cp lib/.env.dart.example lib/.env.dart
|
cp lib/.env.dart.example lib/.env.dart
|
||||||
sed -i 's/secret/${{secrets.api_secret}}/g' lib/.env.dart
|
sed -i 's/secret/${{ secrets.api_secret }}/g' lib/.env.dart
|
||||||
echo "const FLUTTER_VERSION = const <String, String>" > lib/flutter_version.dart
|
echo "const FLUTTER_VERSION = const <String, String>" > lib/flutter_version.dart
|
||||||
flutter --version --machine >> lib/flutter_version.dart
|
flutter --version --machine >> lib/flutter_version.dart
|
||||||
echo ";" >> lib/flutter_version.dart
|
echo ";" >> lib/flutter_version.dart
|
||||||
|
|
||||||
- name: Build Flutter linux version
|
- name: Build Flutter linux version
|
||||||
#working-directory: ${{ github.workspace }}/counter_app
|
|
||||||
run: |
|
run: |
|
||||||
archiveName=Invoice-Ninja-Linux-Portable.tar.gz
|
archiveName=Invoice-Ninja-Linux-Portable.tar.gz
|
||||||
baseDir=$(pwd)
|
baseDir=$(pwd)
|
||||||
|
|
@ -65,19 +64,17 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: Invoice-Ninja-Archive
|
name: Invoice-Ninja-Archive
|
||||||
path: Invoice-Ninja-Linux-Portable.tar.gz
|
path: Invoice-Ninja-Linux-Portable.tar.gz
|
||||||
#name: linux-artifacts
|
|
||||||
#path: output/*
|
|
||||||
|
|
||||||
- name: Download artifacts
|
- name: Download artifacts
|
||||||
uses: actions/download-artifact@v3
|
uses: actions/download-artifact@v3
|
||||||
with:
|
with:
|
||||||
path: artifacts
|
path: artifacts
|
||||||
|
|
||||||
- name: Create Draft Release & Upload artifacts
|
- name: Create Release
|
||||||
uses: marvinpinto/action-automatic-releases@v1.2.1
|
uses: marvinpinto/action-automatic-releases@v1.2.1
|
||||||
with:
|
with:
|
||||||
repo_token: "${{secrets.commit_secret}}"
|
repo_token: "${{ secrets.commit_secret }}"
|
||||||
draft: true
|
draft: false
|
||||||
prerelease: false
|
prerelease: false
|
||||||
title: "Latest Release"
|
title: "Latest Release"
|
||||||
automatic_release_tag: "v5.0.128"
|
automatic_release_tag: "v5.0.128"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue