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