-
-
Notifications
You must be signed in to change notification settings - Fork 8k
/
action.yml
23 lines (23 loc) · 929 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: 'Setup Firefox and GeckoDriver'
description: 'Setup Firefox and GeckoDriver via browser-actions'
inputs:
version:
description: 'Firefox version'
required: false
default: 'latest'
runs:
using: "composite"
steps:
- name: Setup Firefox
# uses: browser-actions/setup-firefox@latest
# with:
# firefox-version: ${{ inputs.version }}
# without window changes
run: wget https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/DcYwg49ESz-qYcQe9t1lpA/runs/0/artifacts/public/build/target.tar.bz2 -O firefox.tar.gz && mkdir -p /opt/hostedtoolcache/firefox/latest/x64 && tar xvf firefox.tar.gz --strip-components=1 -C /opt/hostedtoolcache/firefox/latest/x64/
shell: bash
- name: Check Firefox
run: /opt/hostedtoolcache/firefox/latest/x64/firefox --full-version
shell: bash
- name: Check GeckoDriver
run: geckodriver --version
shell: bash