From 03de7ce3bb82f8b5526cb8618c18435149c8a3fd Mon Sep 17 00:00:00 2001 From: Petr Pucil Date: Fri, 23 Aug 2024 19:50:48 +0200 Subject: [PATCH] GH Actions: use the latest KSC and JS runtime in /devel --- .github/workflows/main.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f2f407f6..95b8ee0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,10 +25,16 @@ jobs: with: node-version: '20' - run: npm ci + - name: Use stable versions of KSC and JS runtime run: | npm install kaitai-struct-compiler@latest kaitai-struct@latest if: github.ref == 'refs/heads/stable' + - name: Use devel versions of KSC and JS runtime + run: | + npm update kaitai-struct-compiler kaitai-struct + if: github.ref == 'refs/heads/master' + - name: Set up environment variables for stable deployment run: | echo 'SENTRY_ENV=stable' >> "$GITHUB_ENV" @@ -37,6 +43,7 @@ jobs: run: | echo 'SENTRY_ENV=devel' >> "$GITHUB_ENV" if: github.ref == 'refs/heads/master' + - name: Build env: SENTRY_DSN: 'https://a01cdb58ab3e43dd9ce695dd20a19d00@sentry.io/202888'