Skip to content

New Crowdin translations by Github Action (#10799) #39

New Crowdin translations by Github Action (#10799)

New Crowdin translations by Github Action (#10799) #39

Workflow file for this run

name: Build extension
on:
push:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Move to manifest v3
run: |
cp src/manifest_v3.json src/manifest.json
- name: Clear hotreload
run: |
echo "" > src/data/hotreload.js
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-chrome
path: ./src/*
- name: Move to manifest v2
run: |
rm src/manifest.json
cp src/manifest_v2.json src/manifest.json
- name: "web-ext build"
id: web-ext-build
uses: kewisch/action-web-ext@v1
with:
cmd: build
source: src
filename: "ISDCAC.xpi"
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-firefox-source
path: ./src/*
- uses: actions/upload-artifact@v3
with:
name: ISDCAC-firefox-unsigned
path: ${{ steps.web-ext-build.outputs.target }}