Skip to content

Commit

Permalink
chore: upgrade actions/upload-artifact from v2/v3 to v4 in Cypress an…
Browse files Browse the repository at this point in the history
…d Dev workflows for better stability and features
  • Loading branch information
guidomodarelli committed Nov 4, 2024
1 parent 54e241e commit b6507df
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cypress-basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
cd ${{ env.PATH_TEMPLATE }}
docker exec $(docker-compose ps -q cypress) bash -c " . /home/automation/nvm/nvm.sh && nvm use && npm run cypress:report"
- name: Step 09 - Archive reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cypress-reports_BASIC_${{ github.event.inputs.wazuh-version }}-${{ github.event.inputs.elastic-version }}
path: ${{ env.PATH_TEMPLATE }}/report/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-odfe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
cd ${{ env.PATH_TEMPLATE }}
docker exec $(docker-compose ps -q cypress) bash -c " . /home/automation/nvm/nvm.sh && nvm use && npm run cypress:report"
- name: Step 09 - Archive reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cypress-reports_ODFE_${{ github.event.inputs.wazuh-version }}-${{ github.event.inputs.odfe-version }}-${{ github.event.inputs.elastic-version }}
path: ${{ env.PATH_TEMPLATE }}/report/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-wzd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
cd ${{ env.PATH_TEMPLATE }}
docker exec $(docker-compose ps -q cypress) bash -c " . /home/automation/nvm/nvm.sh && nvm use && npm run cypress:report"
- name: Step 09 - Archive reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cypress-reports_WZD_${{ github.event.inputs.wazuh-stack-version }}
path: ${{ env.PATH_TEMPLATE }}/report/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cypress-xpack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
cd ${{ env.PATH_TEMPLATE }}
docker exec $(docker-compose ps -q cypress) bash -c " . /home/automation/nvm/nvm.sh && nvm use && npm run cypress:report"
- name: Step 09 - Archive reports
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: cypress-reports_XPACK_${{ github.event.inputs.wazuh-version }}-${{ github.event.inputs.elastic-version }}
path: ${{ env.PATH_TEMPLATE }}/report/*
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dev-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Step 04 - Upload artifact to GitHub
if: ${{ inputs.artifact_name && inputs.artifact_path }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ inputs.artifact_name }}_${{ env.version }}-${{ env.revision }}_${{ inputs.reference }}.zip
path: ${{ matrix.plugins.path }}/${{ inputs.artifact_path }}
Expand Down

0 comments on commit b6507df

Please sign in to comment.