You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by sh...@apache.org on 2023/02/14 22:26:28 UTC
[openwhisk-runtime-dotnet] branch master updated: handle naming conventions for core subprojects (#77)
This is an automated email from the ASF dual-hosted git repository.
shawnallen85 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-runtime-dotnet.git
The following commit(s) were added to refs/heads/master by this push:
new 31902ce handle naming conventions for core subprojects (#77)
31902ce is described below
commit 31902ceea9dd2235a040a95341fe4e75e0e76c79
Author: David Grove <dg...@users.noreply.github.com>
AuthorDate: Tue Feb 14 17:26:23 2023 -0500
handle naming conventions for core subprojects (#77)
module is either core:dotnet3.1 or core:net6.0.
---
.github/workflows/ci.yaml | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 950c456..f30167a 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -90,12 +90,17 @@ jobs:
SHORT_COMMIT=$(git rev-parse --short "$GITHUB_SHA")
./gradlew :core:dotnet3.1:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
./gradlew :core:dotnet3.1:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
- ./gradlew :core:dotnet6.0:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
- ./gradlew :core:dotnet6.0:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
+ ./gradlew :core:net6.0:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=nightly
+ ./gradlew :core:net6.0:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$SHORT_COMMIT
- name: Push Release Images
if: ${{ env.PUSH_RELEASE == 'true' }}
working-directory: runtime
run: |
- RUNTIME=${GITHUB_REF_NAME%@*}
+ RUNTIME_VERSION=${GITHUB_REF_NAME%@*}
IMAGE_TAG=${GITHUB_REF_NAME##*@}
- ./gradlew :core:dotnet$RUNTIME:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG
+ if [ ${RUNTIME_VERSION} == "3.1" ]; then
+ RUNTIME="dotnet3.1"
+ elif [ ${RUNTIME_VERSION} == "6.0" ]; then
+ RUNTIME="net6.0"
+ fi
+ ./gradlew :core:$RUNTIME:distDocker -PdockerRegistry=docker.io -PdockerImagePrefix=openwhisk -PdockerImageTag=$IMAGE_TAG