-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded network library and corresponding API (#165)
Co-authored-by: Levi Lesches <[email protected]>
- Loading branch information
1 parent
ccdc445
commit c4ba0ee
Showing
11 changed files
with
238 additions
and
435 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|
@@ -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 | ||
|
@@ -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/[email protected] | ||
with: | ||
with: | ||
files: | | ||
build/windows/x64/runner/Release/Dashboard.msix | ||
build/app/outputs/apk/release/app-release.apk | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.