From c6b68fcbfb7ba9df96a1264a19071410e29c1694 Mon Sep 17 00:00:00 2001 From: Levi Lesches Date: Thu, 26 Sep 2024 02:55:29 -0400 Subject: [PATCH] Bumped and removed Android from publish workflow --- .github/workflows/publish.yml | 17 +++++++++-------- pubspec.yaml | 4 ++-- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c1672dd82c..05c47e0421 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,9 +1,9 @@ name: Publish Windows and Android apps # Builds a Windows App Installer (.msix) for the Dashboard -# +# # To use this action, add your Windows Certificate file, in base64 format, to a -# repository secret called WINDOWS_CERTIFICATE. This action then: +# repository secret called WINDOWS_CERTIFICATE. This action then: # - Installs Flutter and clones your repository # - Decodes your text certificate into a binary .pfx file # - Runs flutter pub run msix:create to build and sign your Flutter app @@ -16,7 +16,7 @@ on: jobs: build: runs-on: windows-latest - env: + env: windows_certificate: ${{ secrets.WINDOWS_CERTIFICATE }} steps: - name: Clone repository @@ -24,7 +24,7 @@ jobs: - name: Setup Java uses: actions/setup-java@v1 - with: + with: java-version: '12.x' - name: Load certificate @@ -34,7 +34,7 @@ jobs: - name: Install Flutter uses: subosito/flutter-action@v2 - with: + with: cache: true cache-key: "flutter-windows" # we don't need *the* most recent build @@ -45,12 +45,13 @@ jobs: dart analyze dart run msix:create - - name: Build APK - run: flutter build apk + # Temporarily removed because Android builds are broken + # - name: Build APK + # run: flutter build apk - name: Create Release uses: softprops/action-gh-release@v0.1.15 - with: + with: files: | build/windows/x64/runner/Release/Dashboard.msix build/app/outputs/apk/release/app-release.apk diff --git a/pubspec.yaml b/pubspec.yaml index 2aea0c3a6a..0662f8c529 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: rover_dashboard description: Graphical application for remotely operating the rover. publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 2024.9.18+11 # Always increment the build number, never go down, even on new versions +version: 2024.9.26+15 # Always increment the build number, never go down, even on new versions environment: sdk: ^3.2.2 @@ -52,7 +52,7 @@ flutter_launcher_icons: # Builds a Windows .msix App Installer file for the Dashboard. # Command: dart run msix:create msix_config: - msix_version: 2024.9.18.11 + msix_version: 2024.9.26.15 display_name: Dashboard publisher_display_name: Binghamton University Rover Team identity_name: edu.binghamton.rover