From 4c04130e4fefd901a31f718659a3491a25e8e533 Mon Sep 17 00:00:00 2001 From: Shargon Date: Wed, 21 Feb 2024 00:27:34 -0800 Subject: [PATCH 1/2] Fix neo version with submodule --- .github/workflows/main.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7ccefe846..9dc1dd2ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -86,8 +86,10 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} - - name: Set Version + - name: Set Version (dev-pack) run: git rev-list --count HEAD | xargs printf 'CI%05d' | xargs -I{} echo 'VERSION_SUFFIX={}' >> $GITHUB_ENV + - name: Set Version (Neo) + run: git --git-dir=./neo/.git rev-list --count HEAD | xargs printf 'CI%05d' | xargs -I{} echo 'VERSION_SUFFIX_NEO={}' >> $GITHUB_ENV - name : Pack (Neo.SmartContract.Framework) run: | @@ -95,6 +97,10 @@ jobs: --configuration Debug \ --output ./out \ --version-suffix ${{ env.VERSION_SUFFIX }} + - name : Build (Neo) + run: | + dotnet build ./neo -f net7.0 --version-suffix ${{ env.VERSION_SUFFIX_NEO }} + dotnet build ./neo -f netstandard2.1 --version-suffix ${{ env.VERSION_SUFFIX_NEO }} - name : Build (Neo.SmartContract.Testing) run: | dotnet build ./src/Neo.SmartContract.Testing -f net7.0 From 713ec6af5068d54687a5b8f3ebbd6954da87be7a Mon Sep 17 00:00:00 2001 From: Fernando Diaz Toledano Date: Wed, 21 Feb 2024 09:29:22 +0100 Subject: [PATCH 2/2] Update submodule --- neo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo b/neo index 3f002a657..febcc2153 160000 --- a/neo +++ b/neo @@ -1 +1 @@ -Subproject commit 3f002a657bd7272f551eb6d4eafa5552cf0ac88a +Subproject commit febcc2153ccf83ca8118a72ede4d5f05ce8b67ea