From 69c79b4f0d17c24a8f7b1a43dbece5ee447a18bf Mon Sep 17 00:00:00 2001 From: NaveenKumar Namachivayam Date: Mon, 4 Dec 2023 20:58:40 -0500 Subject: [PATCH] Update: GH action to read the token Signed-off-by: NaveenKumar Namachivayam --- .DS_Store | Bin 10244 -> 12292 bytes .github/workflows/release-workflow.yml | 5 +++-- hamster/menu.py | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.DS_Store b/.DS_Store index d38c0cde0eddac3eaf5289068006bc8ef9d47efa..b7ec011a9e3ef53568b648aab762ff2f338c5396 100644 GIT binary patch delta 829 zcmZ{i-%Aux6vyw^9o?C9=<056cU^JA4O5oY#ae_CS4}AlR>IZF3Rh>y!FAM~Z4HaG z@}*xy4Mj%OLl5@jY1xbrs)vevELo~QAbO1mg5J8bvtbW4aL(NC_uRSX@|m;Pzc}J2 zgrMuB5+-B^Uy3}eH?1H<*hGlG{JOt^Ijl`QxJme$5@L{a(#UjYN0uFCOF*c!szM)$@k0Fj>9K|t=U=$NbViHpYKBsX8XE~#bxP;5N zifg!yCEUSX+~b@c6*;Zo8J=Smuki+N@ec3t0qf?+>aesy!|nMYW)~s?N^=#|mNOS1N3vjyZ`_I delta 154 zcmZokXbF&DU|?W$DortDU{C-uIe-{M3-C-V6q~3gIoUvmMHI*fOE3b(85l|!ij&HV z3pOS!XI`wp!NLg?1uNj*tSBYUvRR$y2{R+dW*!A`_RSxKo^S{fwU{gv&G~=i%UBf|#u_IYDRUW=2&drpX_L9s&Thb{sSS diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 55d64cc..072c8bb 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -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' diff --git a/hamster/menu.py b/hamster/menu.py index abb7ab4..226602d 100644 --- a/hamster/menu.py +++ b/hamster/menu.py @@ -34,6 +34,7 @@ def track(ids, menu_item): telemetry_enabled = get_telemetry_config() + def decorator(func): @wraps(func) def wrapper(*args, **kwargs):