mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-18 08:52:26 +02:00
Merge branch 'master' of github.com:gorhill/uBlock
This commit is contained in:
commit
0605b3222d
32
.github/workflows/main.yml
vendored
Normal file
32
.github/workflows/main.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
name: GitHub CI
|
||||||
|
|
||||||
|
on:
|
||||||
|
create:
|
||||||
|
branches: master
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
# I used as template to get started:
|
||||||
|
# https://github.com/DNSCrypt/dnscrypt-proxy/blob/master/.github/workflows/releases.yml
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: Build packages
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Build all
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
run: |
|
||||||
|
./tools/make-chromium.sh ${{ github.ref }}
|
||||||
|
./tools/make-firefox.sh ${{ github.ref }}
|
||||||
|
./tools/make-thunderbird.sh ${{ github.ref }}
|
||||||
|
|
||||||
|
- name: Upload packages
|
||||||
|
uses: softprops/action-gh-release@v1
|
||||||
|
if: startsWith(github.ref, 'refs/tags/')
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
with:
|
||||||
|
files: |
|
||||||
|
uBlock/dist/build/uBlock0_${{ github.ref }}.chromium.zip
|
||||||
|
uBlock/dist/build/uBlock0_${{ github.ref }}.firefox.xpi
|
||||||
|
uBlock/dist/build/uBlock0_${{ github.ref }}.thunderbird.xpi
|
Loading…
Reference in New Issue
Block a user