From 51d75df02451f91652c157991fc70ac209846d1b Mon Sep 17 00:00:00 2001 From: lukas Date: Tue, 30 Jan 2024 22:08:50 +0100 Subject: [PATCH] fix: build anchor before publish --- .github/workflows/publish.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e48a47c..546f472 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -25,6 +25,15 @@ jobs: steps: - uses: actions/checkout@v4 - uses: ./.github/actions/install + - name: 'Solana Anchor build' + uses: metadaoproject/setup-anchor@v2 + with: + anchor-version: '0.29.0' + solana-cli-version: '1.17.15' + node-version: '20.10.0' + - uses: ./.github/actions/install + - run: anchor build + - run: anchor run build_sdk - name: Install Dependencies run: cd sdk && pnpm install - name: Build SDK