This commit is contained in:
parent
f39c471e8e
commit
0b86be6796
@ -12,17 +12,22 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref == 'refs/heads/main'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: https://github.com/subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2
|
||||
with:
|
||||
flutter-version: 3.44.1
|
||||
channel: stable
|
||||
cache: true
|
||||
- name: Check out the code
|
||||
uses: actions/checkout@v4
|
||||
- name: Get Flutter 3.44.1
|
||||
run: |
|
||||
git clone --depth 1 --branch 3.44.1 https://github.com/flutter/flutter.git "$RUNNER_TEMP/flutter"
|
||||
echo "$RUNNER_TEMP/flutter/bin" >> "$GITHUB_PATH"
|
||||
"$RUNNER_TEMP/flutter/bin/flutter" config --no-analytics --no-cli-animations
|
||||
|
||||
- run: flutter pub get --enforce-lockfile
|
||||
- run: flutter analyze
|
||||
- run: flutter test
|
||||
- run: flutter build web --release
|
||||
- name: Install packages
|
||||
run: flutter pub get --enforce-lockfile
|
||||
- name: Analyze
|
||||
run: flutter analyze
|
||||
- name: Run tests
|
||||
run: flutter test
|
||||
- name: Build the web app
|
||||
run: flutter build web --release
|
||||
|
||||
- name: Put it live on the VPS
|
||||
env:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user