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