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