Fix bug with no internet icon on tail blog #770
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
on: | |
push: | |
paths-ignore: | |
- '*.md' | |
branches: | |
- master | |
pull_request: | |
concurrency: | |
group: ci-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
permissions: | |
pull-requests: read | |
strategy: | |
matrix: | |
os: [ ubuntu-latest, macos-latest ] | |
name: Build | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Environment | |
uses: ./.github/actions/setup_build | |
- name: Pre Build Tasks | |
uses: ./.github/actions/pre_build | |
- name: get Version | |
id: version | |
uses: ./.github/actions/version | |
- name: Run build script | |
id: build | |
uses: ./.github/actions/build_android | |
if: runner.os == 'Linux' | |
with: | |
version: ${{ steps.version.outputs.version }} | |
build-number: ${{ steps.version.outputs.build-number }} | |
android-key-jks: ${{ secrets.ANDROID_KEY_JKS }} | |
android-key-properties: ${{ secrets.ANDROID_KEY_PROPERTIES }} | |
sentry-auth-token: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
sentry-org: ${{ secrets.SENTRY_ORG }} | |
sentry-project: ${{ secrets.SENTRY_PROJECT }} | |
sentry-dsn: ${{ secrets.SENTRY_DSN }} | |
#sentry-url: ${{ secrets.SENTRY_URL }} | |
- name: Build IOS / Upload Beta | |
if: github.event_name == 'push' | |
run: bash ${GITHUB_WORKSPACE}/Scripts/fastlane.sh | |
working-directory: Scripts | |
continue-on-error: false | |
env: | |
VERSION: ${{ steps.version.outputs.version }} | |
BUILD_NUMBER: ${{ steps.version.outputs.build-number }} | |
GOOGLE_SECRETS: ${{ secrets.GOOGLE_SECRETS }} | |
APPLE_SECRETS: ${{ secrets.APPLE }} | |
MATCH_GIT_BASIC_AUTHORIZATION: ${{ secrets.FASTLANE_GITHUB }} | |
MATCH_PASSWORD: ${{ secrets.FASTLANE_MATCH_PASSWORD }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
SENTRY_DSN: ${{ secrets.SENTRY_DSN }} | |
#SENTRY_URL: ${{ secrets.SENTRY_URL }} | |
- name: Upload Dart/Flutter debug symbols | |
run: dart pub global activate sentry_dart_plugin && dart pub global run sentry_dart_plugin | |
if: github.event_name == 'push' | |
continue-on-error: true | |
env: | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_ORG: ${{ secrets.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} | |
#SENTRY_URL: ${{ secrets.SENTRY_URL }} | |
SENTRY_RELEASE: ${{ steps.version.outputs.version }} | |
SENTRY_DIST: ${{ steps.version.outputs.build-number }} |