Skip to content

Commit

Permalink
build: remove preview hacks (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
Myriad-Dreamin authored Mar 22, 2024
1 parent 2e7c773 commit e620015
Showing 1 changed file with 0 additions and 49 deletions.
49 changes: 0 additions & 49 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,6 @@ jobs:
with:
submodules: recursive
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- uses: actions/checkout@v4
with:
repository: Enter-tainer/typst-preview
path: external/typst-preview
ref: preview-disable-frontend
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
Expand All @@ -90,27 +84,6 @@ jobs:
with:
node-version: 16
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Hack typst-preview
run: |
mv src/main.rs src/main.rsx
working-directory: ./external/typst-preview
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Build typst-dom
run: |
yarn
yarn build
working-directory: ./external/typst-preview/addons/typst-dom
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Build frontend
run: yarn
working-directory: ./external/typst-preview/addons/frontend
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Build typst-preview
run: |
yarn
yarn run compile
working-directory: ./external/typst-preview/addons/vscode
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
- name: Install deps
run: yarn install
if: (startsWith(github.ref, 'refs/tags/') || matrix.regular_build == 'true')
Expand Down Expand Up @@ -225,28 +198,6 @@ jobs:
submodules: recursive
- name: Run sccache-cache
uses: mozilla-actions/[email protected]
- uses: actions/checkout@v4
with:
repository: Enter-tainer/typst-preview
path: external/typst-preview
ref: preview-disable-frontend
- name: Hack typst-preview
run: |
mv src/main.rs src/main.rsx
working-directory: ./external/typst-preview
- name: Build typst-dom
run: |
yarn
yarn build
working-directory: ./external/typst-preview/addons/typst-dom
- name: Build frontend
run: yarn
working-directory: ./external/typst-preview/addons/frontend
- name: Build typst-preview
run: |
yarn
yarn run compile
working-directory: ./external/typst-preview/addons/vscode
- name: Install deps
run: yarn install
- name: Build vscode extension
Expand Down

0 comments on commit e620015

Please sign in to comment.