Skip to content

feat: while和if现在会在语句块执行完后将栈恢复执行前状态 #133

feat: while和if现在会在语句块执行完后将栈恢复执行前状态

feat: while和if现在会在语句块执行完后将栈恢复执行前状态 #133

Workflow file for this run

name: Build Js Port
on:
push:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.19
- name: Install gopherjs
run: |
go install github.com/gopherjs/gopherjs@v1.19.0-beta1
go mod download golang.org/x/exp
- name: Build
run: gopherjs build github.com/sealdice/dicescript/jsport -o jsport/dicescript.cjs
- name: Bundle ESM
run: cd ./jsport && yarn && yarn build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.MY_TOKEN }}
publish_dir: ./jsport