Skip to content

Commit

Permalink
Bumped and removed Android from publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Levi-Lesches committed Sep 26, 2024
1 parent 8960cc1 commit c6b68fc
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -16,15 +16,15 @@ on:
jobs:
build:
runs-on: windows-latest
env:
env:
windows_certificate: ${{ secrets.WINDOWS_CERTIFICATE }}
steps:
- name: Clone repository
uses: actions/checkout@v3

- name: Setup Java
uses: actions/setup-java@v1
with:
with:
java-version: '12.x'

- name: Load certificate
Expand All @@ -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

Expand All @@ -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/[email protected]
with:
with:
files: |
build/windows/x64/runner/Release/Dashboard.msix
build/app/outputs/apk/release/app-release.apk
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c6b68fc

Please sign in to comment.