Skip to content

Commit

Permalink
Use package installation action.
Browse files Browse the repository at this point in the history
  • Loading branch information
vsajip committed Jan 10, 2025
1 parent 17b8e78 commit 2c5e1cb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Ensure PCRE available
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
'sudo apt update && sudo apt install -y libpcre3-dev'
uses: ConorMacBride/install-package@v1
with:
apt: 'libpcre3-dev'
- name: Run tests on POSIX
if: ${{ matrix.os != 'windows-latest' }}
run: |
Expand Down

0 comments on commit 2c5e1cb

Please sign in to comment.