[ACS-6543] switch from aws to gha cache (#3582)

* switch to gha cache

* save cache

* use exact path

* improve cache key

* cleanup

* cleanup

* remove npm registry var

* remove codeowners
This commit is contained in:
Denys Vuika
2024-01-04 15:25:26 +00:00
committed by GitHub
parent 43f16a05b7
commit 33c3d6f5d4
8 changed files with 23 additions and 209 deletions
-35
View File
@@ -1,32 +1,6 @@
name: "Before e2e"
description: "Before e2e"
inputs:
from:
description: 'path to download the artifact'
required: true
type: string
to:
description: 'path to save artifact to'
required: true
type: string
id:
description: 'test suite id'
required: true
type: number
aws-access-key-id:
description: 'aws access key id'
required: true
type: string
aws-secret-access-key:
description: 'aws secret access key'
required: true
type: string
aws-region:
description: 'aws region'
required: true
type: string
runs:
using: "composite"
steps:
@@ -34,15 +8,6 @@ runs:
shell: bash
run: ./node_modules/@alfresco/adf-cli/bin/adf-cli check-cs-env --host $BASE_URL -u $ADMIN_EMAIL -p $ADMIN_PASSWORD || exit 1
- name: Download artifacts
uses: ./.github/actions/download-job-artifact
with:
artifact: ${{ inputs.from }}
output: ${{ inputs.to }}
aws-access-key-id: ${{ inputs.aws-access-key-id }}
aws-secret-access-key: ${{ inputs.aws-secret-access-key }}
aws-region: ${{ inputs.aws-region }}
- name: Install google chrome
shell: bash
run: |