-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
603 additions
and
546 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,6 +36,14 @@ jobs: | |
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Setup Sentry CLI | ||
uses: mathieu-bour/setup-sentry-cli@v1 | ||
with: | ||
version: latest | ||
token: ${{ SECRETS.SENTRY_TOKEN }} # from GitHub secrets | ||
organization: getlantern | ||
project: android | ||
|
||
- name: Setup JDK 17 | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -62,7 +70,7 @@ jobs: | |
CI: "true" | ||
run: | | ||
flutter pub get | ||
make do-android-debug ANDROID_ARCH=all | ||
make appium-test-build | ||
- name: List files in current directory | ||
run: ls -la | ||
|
@@ -74,7 +82,7 @@ jobs: | |
env: | ||
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} | ||
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | ||
BROWSERSTACK_APP_PATH: "build/app/outputs/flutter-apk/app-prod-debug.apk" | ||
BROWSERSTACK_APP_PATH: "build/app/outputs/flutter-apk/app-appiumtest-debug.apk" | ||
run: | | ||
response=$(curl -u "$BROWSERSTACK_USERNAME:$BROWSERSTACK_ACCESS_KEY" \ | ||
-X POST "https://api-cloud.browserstack.com/app-automate/upload" \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,6 @@ permissions: | |
env: | ||
GOPRIVATE: github.com/getlantern | ||
S3_BUCKET: lantern | ||
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} | ||
DATADOG_SITE: datadoghq.eu | ||
jobs: | ||
set-version: | ||
runs-on: | ||
|
@@ -84,6 +82,14 @@ jobs: | |
run: | | ||
git config --global url."https://${{ secrets.GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/" | ||
- name: Setup Sentry CLI | ||
uses: mathieu-bour/setup-sentry-cli@v1 | ||
with: | ||
version: latest | ||
token: ${{ SECRETS.SENTRY_TOKEN }} # from GitHub secrets | ||
organization: getlantern | ||
project: android | ||
|
||
- name: Setup JDK 11 | ||
uses: actions/setup-java@v3 | ||
with: | ||
|
@@ -118,16 +124,9 @@ jobs: | |
fileDir: './android/app' | ||
encodedString: ${{ secrets.KEYSTORE }} | ||
|
||
- name: Install Datadog CI | ||
run: npm install -g @datadog/datadog-ci | ||
|
||
- name: Build Android installers | ||
run: make package-android | ||
env: | ||
DD_APPLICATION_ID: ${{ secrets.DD_APPLICATION_ID }} | ||
DD_CLIENT_TOKEN: ${{ secrets.DD_CLIENT_TOKEN }} | ||
DATADOG_API_KEY: ${{ secrets.DATADOG_API_KEY }} | ||
DATADOG_SITE: datadoghq.eu | ||
INTERSTITIAL_AD_UNIT: "${{ secrets.INTERSTITIAL_AD_UNIT_ID }}" | ||
VERSION: "${{ env.version }}" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Appium Test" type="FlutterRunConfigurationType" factoryName="Flutter"> | ||
<option name="additionalArgs" value="--dart-define=app.flavor=appiumTest" /> | ||
<option name="buildFlavor" value="appiumTest" /> | ||
<option name="filePath" value="$PROJECT_DIR$/lib/main.dart" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.