diff options
author | Nivaldo Bondança <nbondanca@meta.com> | 2024-04-24 11:08:38 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2024-04-24 11:08:38 -0700 |
commit | 24148bb35082ea71c01c373d949f06afe0e25f5c (patch) | |
tree | 51a320e2a038dd01c030daaaa61c504ee2e8ff7b | |
parent | d0b5b8f0f62a3c82bd6a00ce4178580b574ba19f (diff) | |
download | ktfmt-24148bb35082ea71c01c373d949f06afe0e25f5c.tar.gz |
Fixed param usage
Summary:
Based on this here
https://github.com/kubevirt/hyperconverged-cluster-operator/blob/54462873dd1cb42da28296c5bb3b6dbb8ede37ec/.github/workflows/build-push-images.yaml#L28
Hopefully things work this time.
Previous failure => https://github.com/facebook/ktfmt/actions/runs/8820750772/workflow
Reviewed By: cortinico
Differential Revision: D56528305
fbshipit-source-id: 78cbc46f332e677f56db881f960041528cf76c21
-rw-r--r-- | .github/workflows/publish_artifacts_on_release.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/publish_artifacts_on_release.yaml b/.github/workflows/publish_artifacts_on_release.yaml index b8f12cc..a48a70a 100644 --- a/.github/workflows/publish_artifacts_on_release.yaml +++ b/.github/workflows/publish_artifacts_on_release.yaml @@ -21,7 +21,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - ref: ref/tags/${{ github.events.release.tag_name || inputs.release_tag }} + with: + ref: ${{ github.events.release.tag_name || inputs.release_tag || github.ref }} - name: Set up Maven Central Repository uses: actions/setup-java@v1 with: |