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

pengzheng pushed a commit to branch feature/614-github-cache-build-deps
in repository https://gitbox.apache.org/repos/asf/celix.git


The following commit(s) were added to 
refs/heads/feature/614-github-cache-build-deps by this push:
     new fa567391 Remove deprecated `::set-output`
fa567391 is described below

commit fa5673912085fc0c884f3eae6a297525b55cebe3
Author: PengZheng <[email protected]>
AuthorDate: Wed Aug 30 21:16:21 2023 +0800

    Remove deprecated `::set-output`
---
 .github/workflows/conan_create.yml | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/.github/workflows/conan_create.yml 
b/.github/workflows/conan_create.yml
index 711a5bd6..93a1612a 100644
--- a/.github/workflows/conan_create.yml
+++ b/.github/workflows/conan_create.yml
@@ -5,7 +5,6 @@ on:
   pull_request:
   schedule:
     - cron:  '0 0 * * *'
-  workflow_dispatch:
 
 env:
   CONAN_USER_HOME: "${{ github.workspace }}/release/"
@@ -51,10 +50,10 @@ jobs:
           restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}-${{ 
matrix.compiler[0] }}-${{ matrix.type }}-
       - name: Prepare ccache timestamp
         id: ccache_cache_timestamp
-        shell: cmake -P {0}
+        shell: cmake -P {0} >> $GITHUB_OUTPUT
         run: |
           string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
-          message("::set-output name=timestamp::${current_date}")
+          message("timestamp=${current_date}")
       - name: ccache Cache
         uses: actions/cache@v1
         with:
@@ -103,10 +102,10 @@ jobs:
           restore-keys: ${{ runner.os }}-builder-${{ env.cache-name }}-
       - name: Prepare ccache timestamp
         id: ccache_cache_timestamp
-        shell: cmake -P {0}
+        shell: cmake -P {0} >> $GITHUB_OUTPUT
         run: |
           string(TIMESTAMP current_date "%Y-%m-%d-%H;%M;%S" UTC)
-          message("::set-output name=timestamp::${current_date}")
+          message("timestamp=${current_date}")
       - name: ccache Cache
         uses: actions/cache@v1
         with:

Reply via email to