File tree 3 files changed +21
-10
lines changed 3 files changed +21
-10
lines changed Original file line number Diff line number Diff line change 1
- on :
2
- push :
3
- branches :
4
- - main
5
- pull_request :
6
- branches :
7
- - main
8
-
1
+ on : [workflow_call]
9
2
name : Appium Flutter Integration Server
10
3
jobs :
11
4
android :
Original file line number Diff line number Diff line change 5
5
6
6
name : Publish to pub.dev
7
7
jobs :
8
+ build :
9
+ uses : ./.github/workflows/main.yml # use the callable tests job to run tests
8
10
publish :
11
+ needs : [ build ]
9
12
permissions :
10
13
id-token : write # Required for authentication using OIDC
11
14
defaults :
26
29
run : flutter pub get
27
30
- name : Publish
28
31
run : dart pub publish --force
29
-
32
+ - uses : actions/download-artifact@v4
33
+ with :
34
+ name : Android build
35
+ - name : Display structure of downloaded files
36
+ run : ls -R
37
+ - uses : actions/download-artifact@v4
38
+ with :
39
+ name : ios-build
40
+ - name : Display structure of downloaded files
41
+ run : ls -R
42
+ - name : Upload Android Build to Release
43
+ uses : softprops/action-gh-release@v2
44
+ with :
45
+ files : |
46
+ app-debug.apk
47
+ ios.zip
30
48
- name : Update Flutter Driver with Version
31
49
run : |
32
50
TAG_NAME=$(curl -s "https://api.github.com/repos/AppiumTestDistribution/appium-flutter-server/tags" | grep -m 1 '"name"' | sed -E 's/.*"name": "([^"]+)".*/\1/')
Original file line number Diff line number Diff line change 1
1
name : appium_flutter_server
2
2
description : " Appium Flutter server using Integration Test package for testing Flutter apps with Appium"
3
- version : 0.0.12
3
+ version : 0.0.13
4
4
homepage : " https://github.com/AppiumTestDistribution/appium-flutter-server"
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments