Skip to content

Commit

Permalink
Patch workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lm-sousa committed Aug 8, 2024
1 parent d4c6bea commit f9199aa
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ant-clava-js.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This workflow will build a Java project with Ant
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-ant

name: Java CI - Clava JS
name: Java

on:
push:
Expand Down Expand Up @@ -40,11 +40,13 @@ jobs:
with:
path: clava

- id: Branch-lara-framework
run: git ls-remote --heads git@github.com:specs-feup/lara-framework.git refs/heads/${{ env.BRANCH_NAME }} | wc -l
- id: Branch-specs-java-libs
run: git ls-remote --heads git@github.com:specs-feup/specs-java-libs.git refs/heads/${{ env.BRANCH_NAME }} | wc -l

- name: Check if branch exists on lara-framework
id: Branch-lara-framework
run: git ls-remote --heads https://github.com/specs-feup/lara-framework.git refs/heads/${{ env.BRANCH_NAME }} | wc -l

- name: Check if branch exists on specs-java-libs
id: Branch-specs-java-libs
run: git ls-remote --heads https://github.com/specs-feup/specs-java-libs.git refs/heads/${{ env.BRANCH_NAME }} | wc -l

- name: Checkout lara-framework
uses: actions/checkout@v4
Expand All @@ -60,7 +62,8 @@ jobs:
path: specs-java-libs
ref: ${{ steps.Branch-specs-java-libs.outputs.stdout == '1' && env.BRANCH_NAME || env.DEFAULT_BRANCH }}

- run: cd clava/ClavaWeaver


- name: Build with Gradle
run: gradle build --no-daemon
run: |
cd clava/ClavaWeaver
gradle build --no-daemon

0 comments on commit f9199aa

Please sign in to comment.