From 090656db2fa6e31844062916ecb94056e0577ea5 Mon Sep 17 00:00:00 2001 From: Satya Date: Tue, 12 Nov 2024 17:45:01 +0800 Subject: [PATCH] Update Ogmios and Yaci versions; refine build script. Bump Ogmios to v6.9.0 and Yaci store to v0.1.1-graalvm-preview1 in the configuration files. Enhance the GitHub action build script by including lowercase architecture handling, ensuring artifact naming consistency. Enabled native mode for Yaci store by default. --- .github/workflows/dev-release-cli.yml | 8 +++++--- applications/cli/config/application.properties | 2 ++ applications/cli/config/download.properties | 6 ++++-- applications/cli/docker/download-ogmios.sh | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev-release-cli.yml b/.github/workflows/dev-release-cli.yml index 9072d6b..2147b78 100644 --- a/.github/workflows/dev-release-cli.yml +++ b/.github/workflows/dev-release-cli.yml @@ -40,13 +40,15 @@ jobs: if: runner.os == 'macOS' run: | echo "os_prefix=macos" >> $GITHUB_ENV + - name: Set lowercase architecture + run: echo "arch=$(echo ${{ runner.arch }} | tr '[:upper:]' '[:lower:]')" >> $GITHUB_ENV - name: Build with Gradle working-directory: applications/cli run: ./gradlew --no-daemon -i -Pversion=${{ env.TAG }} clean build nativeCompile cliZip - name: Copy artifacts working-directory: applications/cli - run: mv build/yaci-cli-${{ env.TAG }}.zip build/yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ runner.arch }}.zip + run: mv build/yaci-cli-${{ env.TAG }}.zip build/yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ env.arch }}.zip - uses: actions/upload-artifact@v4 with: - name: yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ runner.arch }} - path: ./applications/cli/build/yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ runner.arch }}.zip + name: yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ env.arch }} + path: ./applications/cli/build/yaci-cli-${{ env.TAG }}-${{ env.os_prefix }}-${{ env.arch }}.zip diff --git a/applications/cli/config/application.properties b/applications/cli/config/application.properties index 02ec845..15f2460 100644 --- a/applications/cli/config/application.properties +++ b/applications/cli/config/application.properties @@ -11,6 +11,8 @@ ogmios.enabled=false kupo.enabled=false yaci.store.enabled=false +yaci.store.mode=native + bp.create.enabled=true ## Default ports diff --git a/applications/cli/config/download.properties b/applications/cli/config/download.properties index febea50..aa40db0 100644 --- a/applications/cli/config/download.properties +++ b/applications/cli/config/download.properties @@ -1,10 +1,12 @@ #Please specify either the version or the full url for the following components node.version=10.1.2 -ogmios.version=6.8.0 +ogmios.version=6.9.0 kupo.version=2.9.0 -yaci.store.version=0.1.0 +yaci.store.version=0.1.1-graalvm-preview1 +yaci.store.jar.version=0.1.0 #node.url= #ogmios.url= #kupo.url= #yaci.store.url= +#yaci.store.jar.url= diff --git a/applications/cli/docker/download-ogmios.sh b/applications/cli/docker/download-ogmios.sh index 34eabec..36faebc 100644 --- a/applications/cli/docker/download-ogmios.sh +++ b/applications/cli/docker/download-ogmios.sh @@ -15,7 +15,7 @@ case $1 in esac -version=v6.8.0 +version=v6.9.0 file=ogmios-${version}-${SUFFIX}-linux.zip wget https://github.com/CardanoSolutions/ogmios/releases/download/${version}/$file