mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
cleanup GitHub actions (#3071)
* cleanup GHA * remove unused parameters * consolidate actions, improve readability * remove unused files * restore fetch depth
This commit is contained in:
@@ -166,11 +166,6 @@ jobs:
|
||||
with:
|
||||
options: "--suite=${{ matrix.e2e-suites.name }}"
|
||||
- uses: ./.github/actions/after-e2e
|
||||
with:
|
||||
id: ${{ matrix.e2e-suites.id }}
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ env.AWS_REGION }}
|
||||
|
||||
e2es-playwright:
|
||||
needs: [lint, build, unit-tests]
|
||||
@@ -205,11 +200,6 @@ jobs:
|
||||
options: "e2e/playwright/tests/folder-rules/playwright.config.ts"
|
||||
test-runner: playwright
|
||||
- uses: ./.github/actions/after-e2e
|
||||
with:
|
||||
id: 15
|
||||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: ${{ env.AWS_REGION }}
|
||||
|
||||
finalize:
|
||||
if: ${{ always() }}
|
||||
@@ -217,12 +207,6 @@ jobs:
|
||||
name: 'Finalize'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0
|
||||
|
||||
- name: Check previous jobs status
|
||||
if: >-
|
||||
${{
|
||||
@@ -231,6 +215,14 @@ jobs:
|
||||
}}
|
||||
run: exit 1
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 2
|
||||
|
||||
- name: Extract commit message
|
||||
uses: Alfresco/alfresco-build-tools/.github/actions/get-commit-message@v1.35.0
|
||||
|
||||
- name: Check ADF link
|
||||
shell: bash
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user