Skip to content

docs: Fix module comment #10

docs: Fix module comment

docs: Fix module comment #10

on:
push:
branches:
- master
permissions:
contents: write
pull-requests: write
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
release-type: rust
- uses: actions/checkout@v3
if: ${{ steps.release.outputs.release_created }}
- name: Build
if: ${{ steps.release.outputs.release_created }}
run: |
VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
mkdir -p releases
TARGET=x86_64-unknown-linux-gnu
rustup target add $TARGET
cargo build --release --target $TARGET
cp target/$TARGET/release/bazel-lsp releases/bazel-lsp-$VERSION-linux-amd64
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./releases/*