Skip to content

Commit fe3839c

Browse files
committed
updated workflows
1 parent 432ecb9 commit fe3839c

File tree

6 files changed

+95
-4
lines changed

6 files changed

+95
-4
lines changed

.github/workflows/drive.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Flutter drive
2+
3+
on:
4+
pull_request:
5+
push:
6+
tags:
7+
- 'v*'
8+
9+
jobs:
10+
drive:
11+
strategy:
12+
matrix:
13+
device:
14+
- "iPhone 12 mini (14.2)"
15+
fail-fast: false
16+
runs-on: macos-10.15
17+
steps:
18+
- name: "List all simulators"
19+
run: "xcrun instruments -s"
20+
- name: "Start Simulator"
21+
run: |
22+
UDID=$(
23+
xcrun instruments -s |
24+
awk \
25+
-F ' *[][]' \
26+
-v 'device=${{ matrix.device }}' \
27+
'$1 == device { print $2 }'
28+
)
29+
xcrun simctl boot "${UDID:?No Simulator with this name found}"
30+
- uses: actions/checkout@v1
31+
- uses: subosito/flutter-action@v1
32+
with:
33+
channel: 'dev'
34+
- run: "cd example && flutter drive --target=test_driver/app.dart"

.github/workflows/example-docker.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Build Example Docker images
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
web:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
- uses: docker/setup-qemu-action@v1
14+
- uses: docker/setup-buildx-action@v1
15+
- uses: docker/login-action@v1
16+
with:
17+
registry: ghcr.io
18+
username: ${{ github.repository_owner }}
19+
password: ${{ secrets.CR_PAT }}
20+
- uses: docker/build-push-action@v2
21+
with:
22+
context: .
23+
file: ./example/Dockerfile
24+
platforms: linux/amd64
25+
push: true
26+
tags: |
27+
ghcr.io/${{ github.repository_owner }}/flutter-openpgp/example-web:latest

.github/workflows/pub.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ on:
77

88
jobs:
99
publish:
10-
1110
runs-on: ubuntu-latest
12-
1311
steps:
1412
- name: Checkout
1513
uses: actions/checkout@v1

.github/workflows/release.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
- uses: scottbrenner/generate-changelog-action@master
16+
id: Changelog
17+
env:
18+
REPO: ${{ github.repository }}
19+
- uses: actions/create-release@latest
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
tag_name: ${{ github.ref }}
24+
release_name: ${{ github.ref }}
25+
body: |
26+
${{ steps.Changelog.outputs.changelog }}
27+
draft: false
28+
prerelease: false

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.3.2
2+
3+
- Tests CI and github actions for drive
4+
15
## 1.3.1
26

37
- Fixed web messenger

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: fast_rsa
22
description: library for use RSA with support for android and ios, macOS, linux, windows, web and hover
3-
version: 1.3.1
3+
version: 1.3.2
44
homepage: https://github.com/jerson/flutter-rsa
55

66
environment:
77
sdk: ">=2.7.0 <3.0.0"
8-
flutter: ">=1.10.0"
8+
flutter: ">=1.10.0 <2.0.0"
99

1010
dependencies:
1111
flutter:

0 commit comments

Comments
 (0)