-
Notifications
You must be signed in to change notification settings - Fork 8
45 lines (37 loc) · 1.05 KB
/
workspace-automation.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: ubuntu-workspace-automation
on:
pull_request:
types: [ opened, synchronize, reopened, closed ]
release:
types: [ published, created, edited ]
workflow_dispatch:
schedule:
# daily
- cron: '0 0 * * *'
jobs:
workspace-automation:
strategy:
matrix:
os: [ubuntu-20.04, macos-12]
# macos-10.15, macos-11, macos-12, ubuntu-18.04, ubuntu-22.04
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Setup workspace
run: |
FLUTTER_WORKSPACE=`pwd`/workspace
mkdir -p $FLUTTER_WORKSPACE && pushd $FLUTTER_WORKSPACE
sudo ../flutter_workspace.py --config=`pwd`/../configs --plex="agl-qemu-master agl-qemu-octopus"
pwd
- name: Source Environment
shell: bash
working-directory: workspace
run: |
pwd
SETUP_ENV = $(find -iname setup_env.sh)
cat $SETUP_ENV
source cat $SETUP_ENV
flutter doctor -v
dart --version