-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH Actions: use the latest KSC and JS runtime in /devel
- Loading branch information
1 parent
b06c034
commit 03de7ce
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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://[email protected]/202888' | ||
|