From d60fe32385027fa92bc6ce2aee2a4ba561761630 Mon Sep 17 00:00:00 2001 From: yeshan333 Date: Wed, 12 Jul 2023 16:19:13 +0800 Subject: [PATCH] chore: fix set-output warning --- LICENSE | 2 +- entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 086a423..21e17f6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2021 yeshan333 +Copyright (c) 2021-2023 yeshan333 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/entrypoint.sh b/entrypoint.sh index 27e1b9c..bd5f45e 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -27,14 +27,14 @@ echo ========================================================================= start_time=$(date) -echo "::set-output name=end_time::$start_time" +echo "{start_time}={start_time}" >> $GITHUB_OUTPUT echo "Start time of synchronization -> $start_time" rsync -e "$SSH_COMMAND" $8 -av $5 $1@$2:$6 end_time=$(date) -echo "::set-output name=end_time::$end_time" +echo "{end_time}={end_time}" >> $GITHUB_OUTPUT echo "End time of synchronization -> $end_time" echo =========================================================================