screenshot website
v1.0.2
screenshot-website웹 사이트, Windows, Mac 및 Linux의 스크린 샷을 캡처하는 Github 액션
- name : Screenshot Website
uses : swinton/[email protected]
with :
source : https://github.com/swinton/screenshot-website
destination : screenshot.png source : 캡처 할 컨텐츠의 출처는 URL 또는 html 문자열 (예 : https://example.com/ 일 수 있습니다).destination : 대상 파일 이름 캡처 된 웹 사이트는 작성됩니다 screenshot.png 여기에 나열된 대부분 의 옵션 ( inputType , width , height 등)은 입력으로 전달 될 수 있으며, fullPage 에 대한 full-page 와 예를 들어 케밥 케이스 등가로 전달할 수 있습니다.
- name : Screenshot Website
uses : swinton/[email protected]
with :
source : https://github.com/swinton/screenshot-website
destination : screenshot.png
full-page : true 캡처 된 각 스크린 샷에 대해 아티팩트가 자동으로 생성됩니다. 다음 추가 출력도 지원됩니다.
path : 캡처 된 스크린 샷의 파일 시스템 경로 매트릭스를 사용하여 다른 운영 체제에서 스크린 샷을 캡처하십시오.
jobs :
screenshot :
name : Screenshot
strategy :
matrix :
os : [ubuntu-latest, macos-latest, windows-latest]
runs-on : ${{ matrix.os }}
steps :
- name : Screenshot Website
uses : swinton/[email protected]
with :
source : https://github.com/swinton/screenshot-website
destination : screenshot-${{ matrix.os }}.png매트릭스를 너비와 같은 추가 옵션과 결합합니다.
jobs :
screenshot :
name : Screenshot
strategy :
matrix :
os : [ubuntu-latest, macos-latest, windows-latest]
width : [1200, 992, 768, 600]
runs-on : ${{ matrix.os }}
steps :
- name : Screenshot Website
uses : swinton/[email protected]
with :
source : https://github.com/swinton/screenshot-website
destination : screenshot-${{ matrix.os }}-${{ matrix.width }}.png
width : ${{ matrix.width }}