Skip to content

Commit b756303

Browse files
authored
Update package.yml
1 parent 67b354b commit b756303

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: Python package
22

33
on: [push]
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
build_wheel:
710
runs-on: ${{ matrix.os }}
@@ -24,8 +27,8 @@ jobs:
2427
- name: MacOS dpendencies
2528
if: ${{ runner.os == 'macOS' }}
2629
run: |
27-
brew uninstall pkg-config || :
28-
brew uninstall pkg-config@0.29.2
30+
brew uninstall pkg-config || echo "pkg-config not installed, skipping uninstallation."
31+
brew uninstall pkg-config@0.29.2 || echo "pkg-config@0.29.2 not available, skipping uninstallation."
2932
brew install gsl
3033
brew install hdf5
3134
- name: Windows dependencies
@@ -85,7 +88,7 @@ jobs:
8588
brew uninstall pkg-config@0.29.2 || :
8689
brew install gsl hdf5 meson ninja cmake &&
8790
export PKG_CONFIG=`which pkg-config` &&
88-
echo "<<<<<<<<<#########################################>>>>>>>>>>" &&
91+
echo "<<<<<<<<<##########################################>>>>>>>>>>" &&
8992
echo "$$$$$ `pkg-config --libs gsl`" &&
9093
echo "@@@@@ `pkg-config --cflags gsl`"
9194
CIBW_ARCHS: 'arm64'

0 commit comments

Comments
 (0)