Update to 2.2.1 #3
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
filter: | |
name: Create path change filters | |
runs-on: ubuntu-latest | |
outputs: | |
workflow: ${{ steps.filter.outputs.workflow }} | |
node_json_theia: ${{ steps.filter.outputs.node_json_theia }} | |
node_json_vscode: ${{ steps.filter.outputs.node_json_vscode }} | |
java_emf_theia: ${{ steps.filter.outputs.java_emf_theia }} | |
java_emf_eclipse: ${{ steps.filter.outputs.java_emf_eclipse }} | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Filter paths | |
id: filter | |
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 #v3.0.2 | |
with: | |
filters: | | |
workflow: | |
- 'workflow/**' | |
node_json_theia: | |
- 'project-templates/node-json-theia/**' | |
node_json_vscode: | |
- 'project-templates/node-json-vscode/**' | |
java_emf_theia: | |
- 'project-templates/java-emf-theia/**' | |
java_emf_eclipse: | |
- 'project-templates/java-emf-eclipse/**' | |
build-workflow-example: | |
if: github.event_name == 'workflow_dispatch' || needs.filter.outputs.workflow == 'true' | |
runs-on: ubuntu-latest | |
needs: filter | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: Build | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: yarn build:workflow | |
build-node-json-theia: | |
if: github.event_name == 'workflow_dispatch' || needs.filter.outputs.node_json_theia == 'true' | |
runs-on: ubuntu-latest | |
needs: filter | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: Build | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: yarn build:node-json-theia | |
build-node-json-vscode: | |
if: github.event_name == 'workflow_dispatch' || needs.filter.outputs.node_json_vscode == 'true' | |
runs-on: ubuntu-latest | |
needs: filter | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
with: | |
node-version: '18.x' | |
- name: Build | |
run: yarn build:node-json-vscode | |
build-java-emf-theia: | |
if: github.event_name == 'workflow_dispatch' || needs.filter.outputs.java_emf_theia == 'true' | |
runs-on: ubuntu-latest | |
needs: filter | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
run: yarn build:java-emf-theia | |
build-java-emf-eclipse: | |
if: github.event_name == 'workflow_dispatch' || needs.filter.outputs.java_emf_eclipse == 'true' | |
runs-on: ubuntu-latest | |
needs: filter | |
steps: | |
- name: Checkout code | |
uses: actions/[email protected] | |
- name: Set up Node.js | |
uses: actions/[email protected] | |
- name: Set up JDK | |
uses: actions/[email protected] | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Build | |
run: yarn build:java-emf-eclipse |