From 85d156d4a0e36923d3c2ebaa1842de0b0f71a6cf Mon Sep 17 00:00:00 2001 From: Lukas Nagel Date: Thu, 24 Oct 2024 20:17:23 +0200 Subject: [PATCH] debug --- .github/workflows/build.yaml | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a7cd6e2..2fbeff9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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' \ No newline at end of file + 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/upload-artifact@v3.1.0 + with: + name: web + path: ./build/web/ \ No newline at end of file