-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
2 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 |
---|---|---|
|
@@ -40,7 +40,7 @@ jobs: | |
- name: Build Flutter Linux App | ||
run: flutter build linux | ||
|
||
- run: ls -R | ||
- run: chmod u+x build/linux/x64/release/bundle/open_media_server_app | ||
|
||
# Package the built Linux app into an AppImage | ||
- name: Create AppImage | ||
|
@@ -93,4 +93,32 @@ jobs: | |
uses: actions/upload-artifact@v3 | ||
with: | ||
name: my-flutter-app.apk | ||
path: '*.apk' | ||
path: '*.apk' | ||
|
||
build-web: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Checkout the repository | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
# Install Flutter SDK | ||
- name: Install Flutter | ||
uses: subosito/flutter-action@v2 | ||
with: | ||
flutter-version: '3.24.3' | ||
|
||
# Fetch Flutter dependencies | ||
- name: Install Flutter dependencies | ||
run: flutter pub get | ||
|
||
- run: flutter build web | ||
working-directory: ./ | ||
shell: bash | ||
|
||
- name: Upload a Build Artifact | ||
uses: actions/[email protected] | ||
with: | ||
name: web | ||
path: ./build/web/ |