diff --git a/.github/workflows/flatpak.yml b/.github/workflows/flatpak.yml index 648e15617..5c9fb7365 100644 --- a/.github/workflows/flatpak.yml +++ b/.github/workflows/flatpak.yml @@ -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 @@ -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 " > 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) @@ -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"