From 3e857a4ca0be1b4bb7b55605cd547864b2d6f188 Mon Sep 17 00:00:00 2001 From: Marcus Girolneto Date: Wed, 10 Jan 2024 18:54:44 -0300 Subject: [PATCH 1/2] Updating --- .github/templates/setup_java_and_scala/action.yml | 11 +---------- .github/workflows/release.yml | 9 +++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/templates/setup_java_and_scala/action.yml b/.github/templates/setup_java_and_scala/action.yml index 229861e..e4a2c40 100644 --- a/.github/templates/setup_java_and_scala/action.yml +++ b/.github/templates/setup_java_and_scala/action.yml @@ -21,13 +21,4 @@ runs: - name: Build tessellation dependencies with: GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} - uses: "./.github/templates/build_tessellation" - - - name: Fetch Dependencies - shell: bash - if: steps.coursier-cache.outputs.cache-hit-coursier != 'true' - env: - GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} - run: | - cd metagraph - sbt +update \ No newline at end of file + uses: "./.github/templates/build_tessellation" \ No newline at end of file diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 65cff7b..c4c60f2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,6 +36,15 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} uses: "./.github/templates/setup_java_and_scala" + - name: Fetch Dependencies + shell: bash + if: steps.coursier-cache.outputs.cache-hit-coursier != 'true' + env: + GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }} + run: | + cd metagraph + sbt +update + - name: Test and assembly 🚀 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From d2a8de8271a5a230637f8729e514d5f1cf25afc9 Mon Sep 17 00:00:00 2001 From: Marcus Girolneto Date: Wed, 10 Jan 2024 18:55:25 -0300 Subject: [PATCH 2/2] Updating --- .github/templates/build_tessellation/action.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.github/templates/build_tessellation/action.yml b/.github/templates/build_tessellation/action.yml index a06ebc6..a4a4df5 100644 --- a/.github/templates/build_tessellation/action.yml +++ b/.github/templates/build_tessellation/action.yml @@ -25,10 +25,5 @@ runs: cd tessellation git checkout $TESSELLATION_VERSION - sbt clean shared/publishM2 - sbt clean kernel/publishM2 - sbt clean keytool/publishM2 - sbt clean sdk/publishM2 - sbt clean dagL1/publishM2 - sbt clean currencyL0/publishM2 - sbt clean currencyL1/publishM2 \ No newline at end of file + sbt clean + sbt shared/publishM2 kernel/publishM2 keytool/publishM2 sdk/publishM2 dagL1/publishM2 currencyL0/publishM2 currencyL1/publishM2 \ No newline at end of file