Skip to content

Commit

Permalink
Fix conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
Tostti committed Mar 11, 2024
1 parent 0ba431e commit c47b7eb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build_wazuh_dashboard_with_plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -313,26 +313,27 @@ jobs:
aws-region: us-east-1

- name: Download deb package
if: contains(needs.test-package-deb.result, 'success')
uses: actions/download-artifact@v3
with:
name: wazuh-dashboard_${{ env.VERSION }}-${{ env.REVISION }}_amd64.deb
path: ${{ env.CURRENT_DIR }}/dev-tools/build-packages/deb/wazuh-dashboard_${{ env.VERSION }}-${{ env.REVISION }}_amd64.deb s3://packages-dev.internal.wazuh.com/development/wazuh/4.x/main/packages/

- name: Upload deb to S3
if: needs.test-package-deb.result == 'success'
if: contains(needs.test-package-deb.result, 'success')
run: |
echo "Uploading deb package"
aws s3 cp ${{ env.CURRENT_DIR }}/dev-tools/build-packages/deb
- name: Download rpm package
if: needs.test-package-rpm.result == 'success'
if: contains(needs.test-package-rpm.result, 'success')
uses: actions/download-artifact@v3
with:
name: wazuh-dashboard-${{ env.VERSION }}-${{ env.REVISION }}.x86_64.rpm
path: ${{ env.CURRENT_DIR }}/dev-tools/build-packages/rpm

- name: Upload rpm to S3
if: needs.test-package-rpm.result == 'success'
if: contains(needs.test-package-rpm.result, 'success')
run: |
ls -la ${{ env.CURRENT_DIR }}/dev-tools/build-packages/rpm

0 comments on commit c47b7eb

Please sign in to comment.