Skip to content

Commit 74820a4

Browse files
Merge pull request #56
Template Parameters
2 parents 455b0f6 + 010b38b commit 74820a4

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/templates/build/action.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,17 @@ runs:
2424
shell: bash
2525
working-directory: ${{inputs.WORKING-DIR}}/${{inputs.COMPONENT}}
2626

27-
# This step was added to show the output
28-
- name: Execute Variant (Demo Purposes)
29-
run: node ./lib/index.js
30-
shell: bash
31-
working-directory: ${{inputs.WORKING-DIR}}/${{inputs.COMPONENT}}
27+
# # This step was added to show the output
28+
# - name: Execute Variant (Demo Purposes)
29+
# run: node ./lib/index.js
30+
# shell: bash
31+
# working-directory: ${{inputs.WORKING-DIR}}/${{inputs.COMPONENT}}
3232

3333
- name: Package ${{inputs.VARIANT_TYPE}} Variant
3434
run: npm pack
3535
shell: bash
3636
working-directory: ${{inputs.WORKING-DIR}}/${{inputs.COMPONENT}}
37+
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch'}}
3738

3839
- name: Publish ${{inputs.VARIANT_TYPE}} Variant
3940
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)