Skip to content

Merge pull request #53 from dmitrylyzo/ci-deps #129

Merge pull request #53 from dmitrylyzo/ci-deps

Merge pull request #53 from dmitrylyzo/ci-deps #129

Workflow file for this run

name: Emscripten
on:
push:
branches: [master, ci]
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
all_but_latest: true
- name: Checkout Base Repo
uses: actions/checkout@v4.1.1
- name: Checkout Submodules
run: |
git submodule sync
git submodule update --init --recursive --force
- name: Build Docker Image
run: |
docker build -t libass/jso .
- name: Build Binaries
run: |
docker run --rm --env LC_ALL=C.UTF-8 -v "${PWD}":/code libass/jso:latest
- name: Upload Nightly Build
uses: actions/upload-artifact@v4.3.1
if: (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/master'
with:
name: js
path: dist/js