Skip to content

Commit

Permalink
Flatpak
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Oct 31, 2023
1 parent 88b8ea7 commit a5bdbd7
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,26 +19,33 @@ jobs:
sentry_url: ${{secrets.sentry_url}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v1
- name: Checkout code
uses: actions/checkout@v1

- name: Setup Flutter
uses: subosito/flutter-action@v1
with:
flutter-version: '3.13.6'
#channel: 'stable'

- name: Install Sentry
run: |
curl -sL https://sentry.io/get-cli/ | bash
- name: Setup Flutter
- name: Check Flutter
run: |
flutter doctor -v
flutter pub get
flutter config --enable-web
- name: Prepare App
run: |
cp lib/.env.dart.example lib/.env.dart
sed -i 's/secret/${{secrets.api_secret}}/g' lib/.env.dart
echo "const FLUTTER_VERSION = const <String, String>" > lib/flutter_version.dart
flutter --version --machine >> lib/flutter_version.dart
echo ";" >> lib/flutter_version.dart
- name: Build Hosted App
run: |
#export SENTRY_RELEASE=$(sentry-cli releases propose-version)
Expand Down Expand Up @@ -70,6 +77,7 @@ jobs:
#sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} finalize $SENTRY_RELEASE
#sentry-cli --auth-token ${{secrets.sentry_auth_token}} --url ${{secrets.sentry_url}} releases --org ${{secrets.sentry_org}} deploys $SENTRY_RELEASE new -e production
- name: Build Profile App
run: |
flutter build web --profile
Expand All @@ -83,6 +91,7 @@ jobs:
git commit -m 'Admin Portal - Profile'
git push
cd ..
- name: Build Selfhosted App
run: |
cp lib/utils/oauth.dart.foss lib/utils/oauth.dart
Expand Down

0 comments on commit a5bdbd7

Please sign in to comment.