Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump actions/upload-artifact from 2 to 4 #6155

Merged
merged 1 commit into from
May 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ jobs:
php -c php.ini -dpcov.enabled=1 vendor/bin/phpunit --exclude-group cache-clear,cache-clear-install,update-schema-doctrine --coverage-clover=coverage1.xml
- name: Upload report
if: success()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: phpunit-reports
path: coverage1.xml
Expand Down Expand Up @@ -197,19 +197,19 @@ jobs:
sed -i "s|%GITHUB_WORKSPACE%|${GITHUB_WORKSPACE}|g" codeception/_envs/github_action.yml
php -dpcov.enabled=1 vendor/bin/codecept -vvv run acceptance --env chrome,github_action -g ${GROUP} --skip-group excludeCoverage --coverage --coverage-xml
- name: Upload outputs
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-evidence
path: codeception/_output/
- name: Upload report
if: success()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-reports
path: codeception/_output/**/*.xml
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-logs
path: var/log/
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ jobs:

- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-logs
path: var/log/
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test-throttling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@ jobs:

- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.method }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.method }}-logs
path: var/log/
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,13 @@ jobs:

- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: codeception-${{ matrix.group }}-logs
path: var/log/
2 changes: 1 addition & 1 deletion .github/workflows/penetration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
run: echo "ARTIFACT_NAME=$(echo ${GROUP} | sed 's,/,-,g')" >> $GITHUB_ENV
- name: Upload evidence
if: always()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: zap-${{ env.ARTIFACT_NAME }}-session
path: zap/sessions
16 changes: 8 additions & 8 deletions .github/workflows/plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-install-${{ matrix.method }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-install-${{ matrix.method }}-logs
path: var/log/
Expand Down Expand Up @@ -291,13 +291,13 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-update-${{ matrix.method }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-update-${{ matrix.method }}-logs
path: var/log/
Expand Down Expand Up @@ -440,13 +440,13 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-extend-${{ matrix.method }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-extend-${{ matrix.method }}-logs
path: var/log/
Expand Down Expand Up @@ -592,13 +592,13 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,github_action EA10PluginCest:${METHOD}
- name: Upload evidence
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-depend-${{ matrix.method }}-evidence
path: codeception/_output/
- name: Upload logs
if: failure()
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: plugin-depend-${{ matrix.method }}-logs
path: var/log/
10 changes: 5 additions & 5 deletions .github/workflows/vaddy-1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,local,vaddy VaddyCest:commit

- name: Upload report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -262,7 +262,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command2 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -331,7 +331,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command3 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -400,7 +400,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command4 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -469,7 +469,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command5 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/vaddy-2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ jobs:
vendor/bin/codecept -vvv run acceptance --env chrome,local,vaddy VaddyCest:commit

- name: Upload report
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command2 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -332,7 +332,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command3 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -401,7 +401,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command4 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down Expand Up @@ -470,7 +470,7 @@ jobs:

- name: Upload report
if: ${{ matrix.command5 != '' && success() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: crawl-reports
path: codeception/_output/**/*
Expand Down
Loading