在函数开头添加输入元素检测,当焦点在输入框、textarea、select 或可编辑元素中时,直接返回不执行快捷键操作 (#1026) #134
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Go | |
| on: | |
| push: | |
| branches: [ "master" ] | |
| pull_request: | |
| branches: [ "master" ] | |
| jobs: | |
| build: | |
| name: ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }} | |
| outputs: | |
| tag: ${{ steps.git.outputs.tag }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - { | |
| name: "Windows Latest MSVC", | |
| artifact: "windows", | |
| os: windows-latest | |
| } | |
| - { | |
| name: "Ubuntu Latest GCC", | |
| artifact: "linux", | |
| os: ubuntu-latest | |
| } | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: 1.24.0 | |
| - name: Build | |
| run: | | |
| go mod tidy | |
| go build -v | |
| # - name: Test | |
| # run: go test -v ./... | |
| - name: Upload Artifact | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: | | |
| conf/**/* | |
| static/**/* | |
| views/**/* | |
| mindoc.* | |
| name: mindoc-${{ matrix.config.artifact }}-${{ steps.git.outputs.tag }}.7z |