Skip to content

Commit

Permalink
fix macos artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch committed Jun 11, 2024
1 parent 33ecfc2 commit 3d0c3bb
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,16 @@ jobs:
- name: Build
run: cargo build --verbose --release

- name: Create extension file (.so)
- name: Create Linux extension file (.so)
if: matrix.os == 'ubuntu-20.04'
uses: actions/upload-artifact@v4
with:
name: php-extension-${{ matrix.os }}-php${{ matrix.php-version }}
path: target/release/libphp_ext_fs_notify.so

- name: Create Macos extension file (.dylib)
if: matrix.os == 'macos-12'
uses: actions/upload-artifact@v4
with:
name: php-extension-${{ matrix.os }}-${{ matrix.php-version }}
path: target/release/libphp_ext_fs_notify.so
name: php-extension-${{ matrix.os }}-php${{ matrix.php-version }}
path: target/release/libphp_ext_fs_notify.dylib

0 comments on commit 3d0c3bb

Please sign in to comment.