2024-03-29 13:02:10 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
2024-03-29 13:04:34 +00:00
|
|
|
- run: |
|
|
|
|
cd ..
|
2024-03-29 13:02:10 +00:00
|
|
|
apt-get update
|
|
|
|
apt-get install -y chromium
|
2024-03-29 13:04:34 +00:00
|
|
|
echo "${{ secrets.CERT }}" > cf-detect-chrome.pem
|
2024-03-29 13:02:10 +00:00
|
|
|
chromium --no-sandbox --pack-extension=./cf-detect-chrome --pack-extension-key=./cf-detect-chrome.pem
|
|
|
|
- uses: actions/upload-artifact@v4
|
|
|
|
with:
|
2024-03-29 13:04:34 +00:00
|
|
|
path: ../cf-detect-chrome.crx
|
2024-03-29 13:02:10 +00:00
|
|
|
overwrite: true
|