Skip to content

fix(update): 权限不足时提权替换二进制文件 #23

fix(update): 权限不足时提权替换二进制文件

fix(update): 权限不足时提权替换二进制文件 #23

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build all platforms
run: make build-all
- name: Generate checksums
run: cd bin && sha256sum trae-proxy-* > checksums.txt
- name: Create Release
uses: softprops/action-gh-release@v2
with:
generate_release_notes: true
files: |
bin/trae-proxy-darwin-arm64
bin/trae-proxy-darwin-amd64
bin/trae-proxy-linux-amd64
bin/trae-proxy-windows-amd64.exe
bin/checksums.txt