Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into anoncreds-w3c-encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
Artemkaaas committed Jan 12, 2024
2 parents 7cae4c9 + 4937151 commit be65636
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ on:
required: true
default: false
type: boolean
publish-wrappers:
description: "Publish Wrappers to Registries"
publish-python-wrapper:
description: "Publish Python Wrapper to Registries"
required: true
default: false
type: boolean
publish-javascript-wrapper:
description: "Publish JavaScript Wrapper to Registries"
required: true
default: false
type: boolean
Expand Down Expand Up @@ -243,7 +248,7 @@ jobs:
- name: Publish JavaScript Wrapper
if: |
github.event_name == 'release' ||
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-wrappers == 'true')
(github.event_name == 'workflow_dispatch' && github.event.inputs.publish-javascript-wrapper == 'true')
run: |
if [[ $(cat lerna.json | grep version | head -1 | grep dev) ]]; then
npx lerna publish from-package --no-push --no-private --yes --no-git-tag-version --dist-tag=alpha
Expand Down Expand Up @@ -320,7 +325,7 @@ jobs:
- if: |
(github.event_name == 'release' ||
(github.event_name == 'workflow_dispatch' &&
github.event.inputs.publish-wrappers == 'true'))
github.event.inputs.publish-python-wrapper == 'true'))
name: Publish python package
working-directory: wrappers/python
env:
Expand Down

0 comments on commit be65636

Please sign in to comment.