chore: add build reporter release
This commit is contained in:
parent
52455f4ea2
commit
96f49e6af6
27
.github/workflows/reporter-release.yml
vendored
Normal file
27
.github/workflows/reporter-release.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
name: Build Reporter Release
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build-go-binary:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
goos: [linux, windows, darwin]
|
||||||
|
goarch: [amd64, arm64]
|
||||||
|
exclude:
|
||||||
|
- goarch: arm64
|
||||||
|
goos: windows
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: wangyoucao577/go-release-action@v1.30
|
||||||
|
with:
|
||||||
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
project_path: ./reporter
|
||||||
|
goos: ${{ matrix.goos }}
|
||||||
|
goarch: ${{ matrix.goarch }}
|
||||||
|
goversion: 1.21.1
|
||||||
|
binary_name: "tianji-reporter"
|
||||||
|
compress_assets: "OFF"
|
@ -233,7 +233,7 @@ export const AddServerStep: React.FC = React.memo(() => {
|
|||||||
<div>
|
<div>
|
||||||
run reporter with{' '}
|
run reporter with{' '}
|
||||||
<Typography.Text code={true} copyable={true}>
|
<Typography.Text code={true} copyable={true}>
|
||||||
./reporter --url {window.location.origin} --workspace{' '}
|
./tianji-reporter --url {window.location.origin} --workspace{' '}
|
||||||
{workspaceId}
|
{workspaceId}
|
||||||
</Typography.Text>
|
</Typography.Text>
|
||||||
<Button
|
<Button
|
||||||
|
Loading…
Reference in New Issue
Block a user