cf-detect-chrome/.forgejo/workflows/build-crx.yaml

18 lines
490 B
YAML
Raw Normal View History

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
ls
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:
path: ./cf-detect-chrome.crx
overwrite: true