Skip to content

Commit

Permalink
use publish input
Browse files Browse the repository at this point in the history
  • Loading branch information
boshek committed Aug 14, 2023
1 parent 6ca6823 commit 3045f68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/performance-release-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ on:
rc_label:
description: 'RC Label'
required: false
publish:
type: boolean
description: 'Publish to S3'
required: false

permissions:
contents: read
Expand Down Expand Up @@ -79,7 +83,7 @@ jobs:
path: 'performance-release-report/performance-release-report.html'

- name: Upload result
if: github.event_name == 'push'
if: ${{ github.event.inputs.publish == 'true' }}
working-directory: performance-release-report
shell: bash
env:
Expand Down

0 comments on commit 3045f68

Please sign in to comment.