You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by wi...@apache.org on 2020/11/15 15:29:47 UTC

[incubator-streampipes] branch dev updated: [hotfix] update to new syntax to set env files in github actions

This is an automated email from the ASF dual-hosted git repository.

wiener pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git


The following commit(s) were added to refs/heads/dev by this push:
     new 30b937d  [hotfix] update to new syntax to set env files in github actions
30b937d is described below

commit 30b937d225c1282f03f4daeec4f1692239b8c481
Author: Patrick Wiener <wi...@fzi.de>
AuthorDate: Sun Nov 15 16:29:32 2020 +0100

    [hotfix] update to new syntax to set env files in github actions
---
 .github/workflows/build.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 8272f0e..2dc00ac 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -38,15 +38,15 @@ jobs:
         run: mvn clean install javadoc:aggregate
       - name: Set env variables for Docker builds
         run: |
-          echo "::set-env name=DOCKER_CLI_EXPERIMENTAL::enabled"
-          echo "::set-env name=MVN_VERSION::$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)"
-          echo "::set-env name=DOCKERHUB_APACHE_REPO::apachestreampipes"
-          echo "::set-env name=BASE_IMG_JRE_DEFAULT::adoptopenjdk/openjdk8-openj9:alpine"
-          echo "::set-env name=BASE_IMG_JRE_ARM32V7::arm32v7/openjdk:11-jre-slim"
-          echo "::set-env name=BASE_IMG_JRE_ARM64V8::arm64v8/openjdk:11-jre-slim"
-          echo "::set-env name=BASE_IMG_NGINX_DEFAULT::nginx"
-          echo "::set-env name=BASE_IMG_NGINX_ARM32V7::arm32v7/nginx"
-          echo "::set-env name=BASE_IMG_NGINX_ARM64V8::arm64v8/nginx"
+          echo "DOCKER_CLI_EXPERIMENTAL=enabled" >> $GITHUB_ENV
+          echo "MVN_VERSION=$(mvn help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
+          echo "DOCKERHUB_APACHE_REPO=apachestreampipes" >> $GITHUB_ENV
+          echo "BASE_IMG_JRE_DEFAULT=adoptopenjdk/openjdk8-openj9:alpine" >> $GITHUB_ENV
+          echo "BASE_IMG_JRE_ARM32V7=arm32v7/openjdk:11-jre-slim" >> $GITHUB_ENV
+          echo "BASE_IMG_JRE_ARM64V8=arm64v8/openjdk:11-jre-slim" >> $GITHUB_ENV
+          echo "BASE_IMG_NGINX_DEFAULT=nginx" >> $GITHUB_ENV
+          echo "BASE_IMG_NGINX_ARM32V7=arm32v7/nginx" >> $GITHUB_ENV
+          echo "BASE_IMG_NGINX_ARM64V8=arm64v8/nginx" >> $GITHUB_ENV
       - name: Install qemu-user-static for multi-arch builds
         run: |
           sudo apt-get update