From 57b295acac711c29a60d27db591b9ec75de0f452 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20R=C3=B8nne=20Petersen?= Date: Sun, 16 Jun 2024 04:10:02 +0200 Subject: [PATCH] Apply a workaround in CI until #6 is addressed. --- .github/workflows/build.yml | 4 ++++ .github/workflows/release.yml | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 49b0068..80b38d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -47,6 +47,10 @@ jobs: uses: actions/setup-node@v4.0.2 with: node-version-file: doc/package.json + # TODO: Remove this hack when `code` is made optional. + - name: Workaround for issue 6 + run: | + sudo touch /usr/bin/code - name: Check source code and documentation run: | zig build check --summary all diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 87e1a76..8256c4d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,6 +31,10 @@ jobs: uses: actions/setup-node@v4.0.2 with: node-version-file: doc/package.json + # TODO: Remove this hack when `code` is made optional. + - name: Workaround for issue 6 + run: | + sudo touch /usr/bin/code - name: Extract build version id: version run: |