解决沉浸式翻译使用 /v1/translate端点时传入多余cookie导致dl_session错误设置的问题 #39
Workflow file for this run
This file contains 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
on: | |
push: | |
tags: | |
- 'v*' | |
pull_request: | |
name: Release | |
jobs: | |
Build: | |
if: startsWith(github.ref, 'refs/tags/v') | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v4 | |
with: | |
go-version: "1.23.2" | |
- run: bash .cross_compile.sh | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
with: | |
draft: false | |
generate_release_notes: true | |
files: | | |
dist/* |