Skip to content

Create node.yml

Create node.yml #10

Workflow file for this run

name: main
on:
push: {}
pull_request: {}
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
include:
- os: ubuntu-latest
cache-path: ${{ github.workspace }}/vcpkg_cache
- os: macos-latest
cache-path: ${{ github.workspace }}/vcpkg_cache
env:
VCPKG_BINARY_SOURCES: "clear;x-gha,readwrite"
VCPKG_DEFAULT_BINARY_CACHE: ${{ matrix.cache-path }}
steps:
- name: Install sudo
if: matrix.os == 'ubuntu-latest'
run: |
sudo apt-get update
sudo apt-get install -y sudo