mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
maint(resources): set env variables in npm publish GHA
Test-bot: skip Build-bot: skip
This commit is contained in:
parent
af858fc3eb
commit
844219f2cb
1 changed files with 6 additions and 0 deletions
6
.github/workflows/npm-publish.yml
vendored
6
.github/workflows/npm-publish.yml
vendored
|
|
@ -59,6 +59,9 @@ jobs:
|
|||
- name: NPM pack
|
||||
if: github.event.client_payload.isTestBuild == 'true'
|
||||
run: |
|
||||
export KEYMAN_TIER=$(cat TIER.md)
|
||||
export GHA_TEST_BUILD="${{ github.event.client_payload.isTestBuild }}"
|
||||
export GHA_BRANCH="${{ github.event.client_payload.branch }}"
|
||||
if [[ -f ./resources/build/ci/npm-publish.sh ]]; then
|
||||
./resources/build/ci/npm-publish.sh pack
|
||||
else
|
||||
|
|
@ -68,6 +71,9 @@ jobs:
|
|||
- name: NPM publish
|
||||
if: github.event.client_payload.isTestBuild == 'false'
|
||||
run: |
|
||||
export KEYMAN_TIER=$(cat TIER.md)
|
||||
export GHA_TEST_BUILD="${{ github.event.client_payload.isTestBuild }}"
|
||||
export GHA_BRANCH="${{ github.event.client_payload.branch }}"
|
||||
if [[ -f ./resources/build/ci/npm-publish.sh ]]; then
|
||||
./resources/build/ci/npm-publish.sh publish
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue