Skip to content

Commit

Permalink
Update: GH action to read the token
Browse files Browse the repository at this point in the history
Signed-off-by: NaveenKumar Namachivayam <[email protected]>
  • Loading branch information
QAInsights committed Dec 5, 2023
1 parent 8c7fd20 commit 69c79b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Binary file modified .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,21 @@ jobs:

- name: Install dependencies
run: |
python -m pip install --upgrade pip
echo $MIXPANEL_TOKEN
python -m pip install --upgrade pip
pip install py2app
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
if: matrix.os == 'macos' || matrix.os == 'self-hosted'

- name: Generate app for intel architecture
run: |
export MIXPANEL_TOKEN=${{ env.MIXPANEL_TOKEN }}
python setup.py py2app
mv dist dist-intel
if: matrix.os == 'macos' && matrix.arch == 'X64'

- name: Generate app for arm64 architecture
run: |
export MIXPANEL_TOKEN=${{ env.MIXPANEL_TOKEN }}
python setup.py py2app
mv dist dist-arm64
if: matrix.os == 'self-hosted' && matrix.arch == 'ARM64'
Expand Down
1 change: 1 addition & 0 deletions hamster/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

def track(ids, menu_item):
telemetry_enabled = get_telemetry_config()

def decorator(func):
@wraps(func)
def wrapper(*args, **kwargs):
Expand Down

0 comments on commit 69c79b4

Please sign in to comment.