a5670af745
* Keycloak CI workflow refactoring Closes #15861 * Update testsuite/integration-arquillian/tests/base/testsuites/base-suite.sh Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com> * Update testsuite/integration-arquillian/tests/base/testsuites/suite.sh Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com> * Update testsuite/integration-arquillian/tests/base/testsuites/suite.sh Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com> * Update CodeQL actions Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>
26 lines
857 B
YAML
26 lines
857 B
YAML
name: PhantomJS Cache
|
|
description: Caches PhantomJS driver
|
|
|
|
inputs:
|
|
version:
|
|
description: PhantomJS Driver version
|
|
required: false
|
|
default: 2.1.1
|
|
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- id: cache-phantomjs-driver
|
|
name: PhantomJS Driver cache
|
|
uses: actions/cache@v3
|
|
with:
|
|
path: ~/.arquillian/drone
|
|
key: phantomjs-${{ inputs.version }}
|
|
|
|
- id: download-phantomjs-driver
|
|
name: Download PhantomJS Driver
|
|
if: steps.cache-phantomjs-driver.outputs.cache-hit != 'true'
|
|
shell: bash
|
|
run: |
|
|
mkdir -p ~/.arquillian/drone/phantomjs/${{ inputs.version }}/
|
|
curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-${{ inputs.version }}-linux-x86_64.tar.bz2 --output ~/.arquillian/drone/phantomjs/${{ inputs.version }}/phantomjs-${{ inputs.version }}-linux-x86_64.tar.bz2
|