From 09b10dd1036e3c0d05ce9066fd7c1510d8fe1131 Mon Sep 17 00:00:00 2001 From: Jake Lilly Date: Mon, 7 Oct 2024 23:06:11 -0400 Subject: [PATCH] Fix worfklow --- .github/workflows/release.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f1fa399..4ad0c44 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,9 @@ jobs: matrix: os: [ubuntu-latest, macOS-latest] + permissions: + contents: write + runs-on: ${{ matrix.os }} steps: - name: checkout @@ -23,6 +26,15 @@ jobs: compiler: ldc dub: latest + - name: install ncurses + shell: bash + run: | + if [ "$RUNNER_OS" == "macOS" ]; then + brew install ncurses + mkdir -p /usr/local/opt/ncurses + ln -s /opt/homebrew/opt/ncurses/lib /usr/local/opt/ncurses/lib + fi + - name: build executable shell: bash run: ./release.sh