diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e1dfe06..df0b8e9 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 \ No newline at end of file + name: php-extension-${{ matrix.os }}-php${{ matrix.php-version }} + path: target/release/libphp_ext_fs_notify.dylib \ No newline at end of file