Skip to content

Commit

Permalink
add os check
Browse files Browse the repository at this point in the history
  • Loading branch information
thijstriemstra committed Feb 13, 2024
1 parent 34c7db4 commit 4930e14
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,18 @@ jobs:
- 20
architecture:
- x64
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }}
name: ${{ matrix.os }} - Node ${{ matrix.node-version }} (${{ matrix.architecture }})
steps:
- uses: actions/checkout@v4
- name: Update system
run: sudo apt-get update
shell: bash
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update
else
echo "$RUNNER_OS not supported"
exit 1
fi
- name: Install system dependencies
shell: bash
run: |
Expand Down

0 comments on commit 4930e14

Please sign in to comment.