forked from associazione-rousseau/camelot-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (31 loc) · 858 Bytes
/
develop.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
on:
push:
branches:
- develop
name: Test and Build Develop
jobs:
build:
name: Build Bundle
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setting up java
uses: actions/setup-java@v1
with:
java-version: '12.x'
- name: Setting up flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '1.17.5'
- name: Resolving dependencies
working-directory: ./rousseau_vote
run: flutter pub get
- name: Unlock secrets
run: sudo apt-get install -y git-crypt && echo $GIT_CRYPT_KEY | base64 -d > $KEY_FILE && git-crypt unlock $KEY_FILE
env:
GIT_CRYPT_KEY: ${{ secrets.GIT_CRYPT_KEY }}
KEY_FILE: /tmp/github-jobs.key
- name: Testing
working-directory: ./rousseau_vote
run: flutter test