Skip to content

Build LSP for windows #10

Build LSP for windows

Build LSP for windows #10

name: Build LSP for windows
on:
workflow_dispatch:
# push:
# branches:
# - main
jobs:
build:
runs-on: windows-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup Ruby 3.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2
- name: Install dependencies
run: |
cd build/windows
gem install ocran
bundle install
- name: Run build script
shell: bash
run: |
cd build/windows
./build.sh
ls
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "build/windows/lsp.exe"
body: "New windows release"
# - name: Release
# uses: softprops/action-gh-release@v1
# with:
# tag_name: ${{ github.ref }}
# name: Release ${{ github.ref }}
# body: |
# New windows version
# draft: true
# prerelease: true
# files: |
# build/windows/lsp.exe
#