Skip to content

Commit 2c5e1cb

Browse files
committed
Use package installation action.
1 parent 17b8e78 commit 2c5e1cb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ jobs:
3636
repo-token: ${{ secrets.GITHUB_TOKEN }}
3737
- name: Ensure PCRE available
3838
if: ${{ matrix.os == 'ubuntu-latest' }}
39-
run: |
40-
'sudo apt update && sudo apt install -y libpcre3-dev'
39+
uses: ConorMacBride/install-package@v1
40+
with:
41+
apt: 'libpcre3-dev'
4142
- name: Run tests on POSIX
4243
if: ${{ matrix.os != 'windows-latest' }}
4344
run: |

0 commit comments

Comments
 (0)