Skip to content

Commit

Permalink
[workflow] build web preview
Browse files Browse the repository at this point in the history
  • Loading branch information
liplum committed Apr 9, 2024
1 parent 2373b99 commit d4ae8b7
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
distribution: 'temurin'
java-version: '17'

- name: Install and set Flutter version
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
- name: Install and set Flutter version
- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Web
on: workflow_dispatch

env:
flutter_version: '3.19.5'

jobs:
build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install Flutter
uses: subosito/flutter-action@v2
with:
flutter-version: ${{ env.flutter_version }}
channel: stable
cache: true

- uses: bluefireteam/flutter-gh-pages@v7
with:
baseHref: /mimir/
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2372,4 +2372,4 @@ packages:
version: "3.1.2"
sdks:
dart: ">=3.3.0 <4.0.0"
flutter: ">=3.19.3"
flutter: ">=3.19.5"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ issue_tracker: https://github.com/liplum/mimir/issues
documentation: https://github.com/liplum/mimir#readme

publish_to: none
environment: { sdk: '>=3.3.0 <4.0.0', flutter: ^3.19.3 }
environment: { sdk: '>=3.3.0 <4.0.0', flutter: ^3.19.5 }

dependencies:
flutter: { sdk: flutter }
Expand Down

0 comments on commit d4ae8b7

Please sign in to comment.