Compare commits
12 Commits
201ec36e4e
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
d2676945b2
|
|||
|
0e646f2311
|
|||
|
f416218600
|
|||
|
|
d392edb660
|
||
|
|
c0377f129a
|
||
|
|
80a3efe9be
|
||
|
|
fb56627568
|
||
|
|
6221260c9a
|
||
|
|
dd92c503fa
|
||
|
|
71b5f60507
|
||
|
|
db8d1087b2
|
||
|
|
8fe4b45a78
|
@@ -1,11 +1,14 @@
|
||||
name: Build Flutter SDK Docker Image
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 4 * * 0'
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
- some-branch-name-which-should-never-trigger-the-build
|
||||
# schedule:
|
||||
# - cron: '0 2 * * FRI'
|
||||
# push:
|
||||
# branches:
|
||||
# - main
|
||||
# workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
||||
@@ -5,8 +5,9 @@ ARG CHANNEL=stable
|
||||
RUN apt update
|
||||
RUN apt install -y curl git wget unzip
|
||||
RUN apt clean
|
||||
# download Flutter SDK from Flutter Github repo \
|
||||
RUN git clone -b ${CHANNEL} https://github.com/flutter/flutter.git /usr/local/flutter
|
||||
|
||||
ENV FLUTTER_ROOT=/usr/local/flutter
|
||||
RUN git clone -b ${CHANNEL} https://github.com/flutter/flutter.git ${FLUTTER_ROOT}
|
||||
|
||||
# Set flutter environment path
|
||||
ENV PATH="/usr/local/flutter/bin:/usr/local/flutter/bin/cache/dart-sdk/bin:${PATH}"
|
||||
|
||||
Reference in New Issue
Block a user