Skip to content

fix: ttypescript version #385

fix: ttypescript version

fix: ttypescript version #385

Workflow file for this run

name: Release Status
on:
push:
branches:
- master
- 'release/**'
- 'hotfix/**'
jobs:
release:
name: Release
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-2019, macOS-latest]
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 18.x
- uses: actions/cache@v3
id: cache
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('package.json') }}
- name: Install Dependencies
run: npm install --force
if: steps.cache.outputs.cache-hit != 'true'
env:
CI: true
- name: Install dmg-license
if: matrix.os == 'macOS-latest'
run: npm install dmg-license --force
- name: Build and Release
run: npm run release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
EP_DRAFT: true