fix release.yml
This commit is contained in:
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
@@ -13,6 +13,21 @@ jobs:
|
|||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
# Linux
|
||||||
|
- name: Install build tools (Linux)
|
||||||
|
if: runner.os == 'Linux'
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y flex bison
|
||||||
|
|
||||||
|
# macOS
|
||||||
|
- name: Install build tools (macOS)
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: brew install flex bison
|
||||||
|
|
||||||
|
# Windows
|
||||||
|
- name: Install build tools (Windows)
|
||||||
|
if: runner.os == 'Windows'
|
||||||
|
run: choco install winflexbison -y
|
||||||
|
shell: pwsh
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
|
|||||||
Reference in New Issue
Block a user