CI fix 11

This commit is contained in:
Matteo Gheza 2020-11-28 11:09:23 +01:00
parent 519c9cf4bb
commit b46a91ad60
1 changed files with 7 additions and 5 deletions

View File

@ -50,10 +50,12 @@ jobs:
./node_modules/.bin/webpack --config webpack.debug_bundle.js ./node_modules/.bin/webpack --config webpack.debug_bundle.js
ls dist ls dist
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v2
with: with:
name: webpack_report_${{ github.run_id }} name: webpack_report_${{ github.run_id }}
path: server/resources/dist/report.html path: |
server/resources/dist/report.html
server/resources/dist/stat.json
- name: Shutdown Ubuntu MySQL (SUDO) - name: Shutdown Ubuntu MySQL (SUDO)
run: sudo service mysql stop run: sudo service mysql stop
@ -87,9 +89,9 @@ jobs:
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/upload-artifact@v1 - uses: actions/upload-artifact@v2
if: failure() if: failure()
with: with:
name: cypress_screenshots_php-${{ matrix.php-versions }} name: cypress_screenshots_php-${{ matrix.php-versions }}_${{ github.run_id }}
path: cypress/screenshots path: server/cypress/screenshots