Fix upload artifacts error + adjust workflow name

This commit is contained in:
slawkens 2024-02-17 08:00:12 +01:00
parent a59f0e9244
commit 0255d0bef2

View File

@ -24,7 +24,7 @@ jobs:
matrix: matrix:
php-versions: [ '8.1', '8.2', '8.3' ] php-versions: [ '8.1', '8.2', '8.3' ]
ots: ['tfs-master', 'tfs-1.4', 'canary-3.1.2'] ots: ['tfs-master', 'tfs-1.4', 'canary-3.1.2']
name: MyAAC on PHP ${{ matrix.php-versions }} name: MyAAC Cypress on PHP ${{ matrix.php-versions }} OTS ${{ matrix.ots }}
steps: steps:
- name: 📌 MySQL Start & init & show db - name: 📌 MySQL Start & init & show db
run: | run: |
@ -127,19 +127,19 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: cypress-screenshots-${{ matrix.php-versions }} name: cypress-screenshots-${{ matrix.php-versions }}-${{ matrix.ots }}
path: cypress/screenshots path: cypress/screenshots
- name: Upload Cypress Videos - name: Upload Cypress Videos
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: cypress-videos-${{ matrix.php-versions }} name: cypress-videos-${{ matrix.php-versions }}-${{ matrix.ots }}
path: cypress/videos path: cypress/videos
- name: Upload PHP Logs - name: Upload PHP Logs
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
if: always() if: always()
with: with:
name: php-log-${{ matrix.php-versions }} name: php-log-${{ matrix.php-versions }}-${{ matrix.ots }}
path: php.log path: php.log