Skip to content

Commit

Permalink
yarn: make package step optional
Browse files Browse the repository at this point in the history
  • Loading branch information
vmandrychenko authored and jsoref committed Feb 9, 2024
1 parent 215f20e commit b081eb2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions yarn/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,9 @@ inputs:
description: "Directory to publish to npm-registry"
default: "dist"
required: false
skip-package:
description: "Skip packaging"
required: false

runs:
using: 'composite'
Expand Down Expand Up @@ -247,6 +250,7 @@ runs:
gcloud auth configure-docker
- name: Package
if: ${{ ! inputs.skip-package }}
shell: bash
env:
WORKING_DIRECTORY: ${{ inputs.working-directory }}
Expand Down

0 comments on commit b081eb2

Please sign in to comment.