Skip to content

Commit

Permalink
Fix environment variable usage
Browse files Browse the repository at this point in the history
  • Loading branch information
QU3B1M committed Oct 29, 2024
1 parent 96ba20d commit 96e84f5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
env:
plugin_name: wazuh-indexer-${{ matrix.plugins }}
outputs:
hash: ${{ steps.save-hash.outputs.hash }}
plugins_hash: ${{ steps.save-hash.outputs.hash }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -168,7 +168,7 @@ jobs:
if: ${{ inputs.reporting_plugin_ref != '' }}
runs-on: ubuntu-latest
outputs:
hash: ${{ steps.save-hash.outputs.hash }}
reporting_hash: ${{ steps.save-hash.outputs.hash }}
env:
plugin_name: wazuh-indexer-reports-scheduler
steps:
Expand Down Expand Up @@ -206,7 +206,7 @@ jobs:
if-no-files-found: error

build:
needs: [matrix, build-wazuh-plugins, build-reporting-plugin]
needs: [matrix, build-wazuh-plugins, build-reporting-plugin, plugins_hash, reporting_hash]
runs-on: ${{ matrix.architecture == 'arm64' && 'wz-linux-arm64' || 'ubuntu-22.04' }}
strategy:
fail-fast: false
Expand Down Expand Up @@ -253,8 +253,8 @@ jobs:
- name: Run `baptizer.sh`
# As parameters
run: |
PLUGINS_HASH=${{build-wazuh-plugins.outputs.hash }} \
REPORTING_HASH=${{ build-reporting-plugin.outputs.hash }} \
PLUGINS_HASH=${{ plugins_hash }} \
REPORTING_HASH=${{ reporting_hash }} \
name=$(bash build-scripts/baptizer.sh \
-a ${{ matrix.architecture }} \
-d ${{ matrix.distribution }} \
Expand Down

0 comments on commit 96e84f5

Please sign in to comment.