From e57de8a364e8eacf1cc3a82ddeeb05b051883ee6 Mon Sep 17 00:00:00 2001 From: Trevor Crawford Date: Wed, 3 Jul 2024 12:40:35 -0400 Subject: [PATCH] Update build.yaml Add MacOS; Remove unnecessary steps; Add check for OpenSSH; --- .github/workflows/build.yaml | 42 ++++++++++-------------------------- 1 file changed, 11 insertions(+), 31 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9592fee9..8ab30e01 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -1,6 +1,7 @@ -name: Build VSCode extension +name: Build on: + workflow_dispatch: push: branches: '**' pull_request: @@ -11,35 +12,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, windows-latest] + os: [ubuntu-latest, macOS-latest, windows-latest] steps: - - name: Checkout liberty-tools-vscode - uses: actions/checkout@v3 - with: - path: liberty-tools-vscode - - name: Checkout lsp4jakarta - uses: actions/checkout@v3 - with: - repository: eclipse/lsp4jakarta - path: lsp4jakarta - - name: Setup Java 17 - uses: actions/setup-java@v3 - with: - distribution: 'temurin' - java-version: 17 - cache: 'maven' - - name: Build Liberty Tools for VSCode - working-directory: ./liberty-tools-vscode - run: | - openssl version - node -v - npm -v - - name: Archive artifacts - if: runner.os == 'Linux' - uses: actions/upload-artifact@v3 - with: - name: liberty-tools-vscode-${{ github.sha }} - path: ./**/*.vsix - if-no-files-found: warn - retention-days: 7 + - name: Check OpenSSL version + run: openssl version + - name: Check OpenSSH version + run: ssh -V + - name: Check Node version + run: node -v + - name: Check NPM version + run: npm -v