ocaml/0014-Merge-pull-request-12286-from-smorimoto-replace-set-.patch
Richard W.M. Jones 772b17b666 Drop downstream 0017-configure-Only-use-OC_-for-building-executables.patch
This is no longer needed now we found another way to work around build
notes breakage.
2023-07-11 17:46:39 +01:00

41 lines
1.3 KiB
Diff

From af3a67cd06e07825c63b70a038cf90481039b1ed Mon Sep 17 00:00:00 2001
From: David Allsopp <david.allsopp@metastack.com>
Date: Fri, 9 Jun 2023 21:47:51 +0100
Subject: [PATCH 14/17] Merge pull request #12286 from
smorimoto/replace-set-output
Replace the set-output command with the GITHUB_OUTPUT environment file
(cherry picked from commit 50054a632a5ac3bb4199276617d358e3fa4a108b)
---
tools/ci/actions/check-manual-modified.sh | 2 +-
tools/ci/actions/runner.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/ci/actions/check-manual-modified.sh b/tools/ci/actions/check-manual-modified.sh
index dc8b6bd809..c5826c1fd0 100755
--- a/tools/ci/actions/check-manual-modified.sh
+++ b/tools/ci/actions/check-manual-modified.sh
@@ -32,4 +32,4 @@ else
fi
echo "Manual altered: $result"
-echo "::set-output name=manual_changed::$result"
+echo "manual_changed=$result" >>"$GITHUB_OUTPUT"
diff --git a/tools/ci/actions/runner.sh b/tools/ci/actions/runner.sh
index 6e5a30f73a..295e58a83e 100755
--- a/tools/ci/actions/runner.sh
+++ b/tools/ci/actions/runner.sh
@@ -159,7 +159,7 @@ ReportBuildStatus () {
else
STATUS='success'
fi
- echo "::set-output name=build-status::$STATUS"
+ echo "build-status=$STATUS" >>"$GITHUB_OUTPUT"
exit $CODE
}
--
2.41.0