aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/release.yml
blob: fe17a0899f90c02d6fbc2638fe27f6cd9113577f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: Upload Release Build

on: release

jobs:

  build:
    name: Upload Release
    runs-on: ubuntu-latest

    steps:
      # Build Artifacts
      - uses: actions/checkout@v1
      - name: Build Artifacts
        uses: ./.github/workflows/ci.yml

      # Upload each release asset
      - name: Upload to release
        uses: JasonEtco/upload-to-release@master
        with:
          args: ./builds/ChromeExtension.zip
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      - name: Upload to release
        uses: JasonEtco/upload-to-release@master
        with:
          args: ./builds/FirefoxExtension.zip
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}