Skip to content

Commit

Permalink
release artifacts are different from ci artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikbosch committed Jun 11, 2024
1 parent 3d0c3bb commit ace2a62
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,18 @@ jobs:
run: cargo build --verbose

- name: Run tests
run: cargo test --verbose
run: cargo test --verbose

- 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/debug/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 }}-php${{ matrix.php-version }}
path: target/debug/libphp_ext_fs_notify.dylib
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ env:
CARGO_TERM_COLOR: always

jobs:
required:
name: Required
publish:
name: publish
needs:
- ci
runs-on: ubuntu-20.04
Expand Down

0 comments on commit ace2a62

Please sign in to comment.