Skip to content

Commit

Permalink
Update python-app-on-mac.yml
Browse files Browse the repository at this point in the history
Signed-off-by: Boudjada Yasser <[email protected]>
  • Loading branch information
yasserbdj96 authored Jul 11, 2024
1 parent 92b72a2 commit 01a208c
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/python-app-on-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,12 @@ jobs:
if: matrix.os == 'macos-latest'
run: brew install gettext

- name: Update environment variables for gettext (macOS)
- name: Set environment variables for gettext (macOS)
if: matrix.os == 'macos-latest'
run: |
echo "/usr/local/opt/gettext/lib" >> $GITHUB_ENV
echo "/usr/local/opt/gettext/bin" >> $GITHUB_ENV
echo "PATH=$(brew --prefix gettext)/bin:\$PATH" >> $GITHUB_ENV
echo "LDFLAGS=-L$(brew --prefix gettext)/lib" >> $GITHUB_ENV
echo "CPPFLAGS=-I$(brew --prefix gettext)/include" >> $GITHUB_ENV
shell: bash

- name: Set up Python ${{matrix.python-version}}
Expand Down

0 comments on commit 01a208c

Please sign in to comment.