Skip to content

Commit

Permalink
GH Actions: use the latest KSC and JS runtime in /devel
Browse files Browse the repository at this point in the history
  • Loading branch information
generalmimon committed Aug 23, 2024
1 parent b06c034 commit 03de7ce
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -37,6 +43,7 @@ jobs:
run: |
echo 'SENTRY_ENV=devel' >> "$GITHUB_ENV"
if: github.ref == 'refs/heads/master'

- name: Build
env:
SENTRY_DSN: 'https://[email protected]/202888'
Expand Down

0 comments on commit 03de7ce

Please sign in to comment.