Skip to content

Commit

Permalink
chore: add sentry auth token to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Oct 29, 2024
1 parent f149af4 commit 7f9edb0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
run: yarn install

- name: 🚀 Build app
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: eas build --non-interactive --platform android --local --profile preview --output=./app-release.apk

- name: 🧪 Run tests
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Release tag
on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
draft_release:
Expand All @@ -22,7 +22,7 @@ jobs:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
draft: true
# prerelease: true
# prerelease: true

build_android:
needs: [draft_release]
Expand Down Expand Up @@ -53,6 +53,8 @@ jobs:
run: yarn install

- name: 🚀 Build app
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
run: eas build --non-interactive --platform android --local --profile production_apk --output=./app-release.apk

- name: Upload Artifact
Expand All @@ -71,7 +73,6 @@ jobs:
asset_path: ./app-release.apk
asset_name: alby-go-${{ github.ref_name }}-android.apk
asset_content_type: application/vnd.android.package-archive

# publish-release:
# needs: [release, build_android]
# runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ yarn-error.*

# local env files
.env*.local
.env

# typescript
*.tsbuildinfo
Expand Down

0 comments on commit 7f9edb0

Please sign in to comment.