Sha256: ee83522b60398f5c77272463415116021b46fadd462b73ec7c3ac3cd8604df50

Contents?: true

Size: 1.06 KB

Versions: 3

Compression:

Stored size: 1.06 KB

Contents

name: Build LSP for windows

on:
  workflow_dispatch:
  # push:
  #   branches:
  #     - main
  push:
    tags:
    - '*'

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
    #

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
platformos-check-0.4.14 .github/workflows/build_for_windows.yml
platformos-check-0.4.13 .github/workflows/build_for_windows.yml
platformos-check-0.4.12 .github/workflows/build_for_windows.yml