Skip to content

Commit

Permalink
Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Nov 1, 2023
1 parent fedc0eb commit 39bc3c8
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
build-flutter-app:
name: Build Flutter app
env:
api_secret: ${{secrets.api_secret}}
commit_secret: ${{secrets.commit_secret}}
api_secret: ${{ secrets.api_secret }}
commit_secret: ${{ secrets.commit_secret }}
runs-on: ubuntu-20.04
steps:
- name: Checkout code
Expand All @@ -43,13 +43,12 @@ jobs:
- name: Prepare App
run: |
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
flutter --version --machine >> lib/flutter_version.dart
echo ";" >> lib/flutter_version.dart
- name: Build Flutter linux version
#working-directory: ${{ github.workspace }}/counter_app
run: |
archiveName=Invoice-Ninja-Linux-Portable.tar.gz
baseDir=$(pwd)
Expand All @@ -65,19 +64,17 @@ jobs:
with:
name: Invoice-Ninja-Archive
path: Invoice-Ninja-Linux-Portable.tar.gz
#name: linux-artifacts
#path: output/*

- name: Download artifacts
uses: actions/download-artifact@v3
with:
path: artifacts

- name: Create Draft Release & Upload artifacts
- name: Create Release
uses: marvinpinto/action-automatic-releases@v1.2.1
with:
repo_token: "${{secrets.commit_secret}}"
draft: true
repo_token: "${{ secrets.commit_secret }}"
draft: false
prerelease: false
title: "Latest Release"
automatic_release_tag: "v5.0.128"
Expand Down

0 comments on commit 39bc3c8

Please sign in to comment.