Skip to content

Commit

Permalink
Use env.plugin_name
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Sep 25, 2024
1 parent ef98bc9 commit 0f8c2e5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ jobs:
matrix:
plugins: ["setup", "command-manager"]
runs-on: ubuntu-latest
env:
plugin_name: wazuh-indexer-${{ matrix.plugins }}
steps:
- uses: actions/checkout@v4
with:
Expand Down Expand Up @@ -153,7 +155,7 @@ jobs:
uses: actions/upload-artifact@v4
with:
name: ${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision }}.zip
path: "./plugins/${{ matrix.plugins }}/build/distributions/wazuh-indexer-${{ matrix.plugins }}-${{ steps.version.outputs.version }}.${{ inputs.revision }}.zip"
path: "./plugins/${{ matrix.plugins }}/build/distributions/${{ env.plugin_name }}-${{ steps.version.outputs.version }}.${{ inputs.revision }}.zip"
if-no-files-found: error

build-reporting-plugin:
Expand Down

0 comments on commit 0f8c2e5

Please sign in to comment.