Skip to content

Commit

Permalink
fix: if statements in composite actions for build
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruzda-splunk committed Dec 18, 2023
1 parent 49f7a98 commit 4eb1310
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/actions/build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ runs:
source: ${{ steps.uccgen.outputs.OUTPUT }}

- name: Artifact OpenAPI
if: ${{ inputs.python_version }} == '3.7' && ${{ !cancelled() && inputs.ucc_modinput_functional == 'true' && inputs.modinput_functional == 'true' }}
if: ${{ inputs.python_version == '3.7' && !cancelled() && inputs.ucc_modinput_functional == 'true' && inputs.modinput_functional == 'true' }}
uses: actions/upload-artifact@v3
with:
name: artifact-openapi
path: ${{ github.workspace }}/${{ steps.uccgen.outputs.OUTPUT }}/static/openapi.json

- name: Artifact Splunkbase
if: ${{ !cancelled() && inputs.python_version }} == '3.7' }}
if: ${{ !cancelled() && inputs.python_version == '3.7' }}
uses: actions/upload-artifact@v3
with:
name: package-splunkbase
Expand All @@ -175,9 +175,9 @@ runs:
echo "name=$(basename "${{ steps.slim.outputs.OUTPUT }}")" >> "$GITHUB_OUTPUT"
basename "${{ steps.slim.outputs.OUTPUT }}"
aws s3 cp "${{ steps.slim.outputs.OUTPUT }}" s3://ta-production-artifacts/ta-apps/
- name: Artifact Splunk parts
if: ${{ !cancelled() && inputs.python_version }} == '3.7' }}
if: ${{ !cancelled() && inputs.python_version == '3.7' }}
uses: actions/upload-artifact@v3
with:
name: package-deployment
Expand Down

0 comments on commit 4eb1310

Please sign in to comment.