Skip to content

Commit

Permalink
Update Ogmios and Yaci versions; refine build script.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
satran004 committed Nov 12, 2024
1 parent 9b83323 commit 090656d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dev-release-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 2 additions & 0 deletions applications/cli/config/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ ogmios.enabled=false
kupo.enabled=false
yaci.store.enabled=false

yaci.store.mode=native

bp.create.enabled=true

## Default ports
Expand Down
6 changes: 4 additions & 2 deletions applications/cli/config/download.properties
Original file line number Diff line number Diff line change
@@ -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=
2 changes: 1 addition & 1 deletion applications/cli/docker/download-ogmios.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 090656d

Please sign in to comment.