web: refactor logs page with group-detail view and conditional level … #15
Workflow file for this run
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: Release | |
| on: | |
| push: | |
| tags: | |
| - 'v*' | |
| permissions: | |
| contents: write | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version-file: go.mod | |
| cache: true | |
| - name: Run tests | |
| run: make test | |
| - name: Build release binaries | |
| run: make build-release | |
| - name: Get version | |
| id: version | |
| run: echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT | |
| - name: Create tarball | |
| run: | | |
| mkdir -p dist | |
| tar -czvf dist/tracer-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz \ | |
| -C bin tracer-collector tracer-panel | |
| - name: Create Release | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| files: | | |
| dist/tracer-${{ steps.version.outputs.VERSION }}-linux-amd64.tar.gz | |
| bin/tracer-collector | |
| bin/tracer-panel | |
| generate_release_notes: true |