Skip to content

Restore driver installation #854

Restore driver installation

Restore driver installation #854

Workflow file for this run

# refresh list of sponsors
name: sponsors
on:
workflow_dispatch:
inputs:
chrome:
# Lookup desired version at https://chromiumdash.appspot.com/releases?platform=Windows
# Then find the closest position to the Base Branch Position at
# https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/
description: Chrome Position
schedule:
- cron: "0 23 * * *"
push:
paths:
- .github/workflows/sponsors.*
permissions:
contents: write
jobs:
sponsors:
runs-on: macOS-latest
steps:
- name: πŸ€– defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ vars.BOT_NAME || secrets.BOT_NAME }}
email: ${{ vars.BOT_EMAIL || secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: 🀘 checkout
uses: actions/checkout@v2
with:
token: ${{ env.GH_TOKEN }}
- name: 🌐 chrome
uses: browser-actions/setup-chrome@v1
id: chrome
with:
chrome-version: ${{ github.event.inputs.chrome || vars.chrome || '1331469' }}
install-chromedriver: true
- name: πŸ”½ html2image
run: pip install --force-reinstall -v html2image==2.0.5
- name: πŸ’œ sponsors
shell: pwsh
run: ./.github/workflows/sponsors.ps1
env:
chrome: ${{ steps.chrome.outputs.chrome-path }}
- name: +Mᐁ includes
uses: devlooped/actions-include@v1
- name: βœ“ commit
continue-on-error: true
run: |
git add -A
git commit -m "πŸ’œ Refresh sponsors"
git push