Skip to content

Commit f6106d7

Browse files
committed
1 parent 9edeb21 commit f6106d7

8 files changed

+10
-10
lines changed

.github/workflows/check-certificates.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ jobs:
109109
echo "Certificate expiration date: $EXPIRATION_DATE"
110110
echo "Days remaining before expiration: $DAYS_BEFORE_EXPIRATION"
111111
112-
echo "::set-output name=days::$DAYS_BEFORE_EXPIRATION"
112+
echo "days=$DAYS_BEFORE_EXPIRATION" >> $GITHUB_OUTPUT
113113
114114
- name: Check if expiration notification period has been reached
115115
id: check-expiration

.github/workflows/check-go-dependencies-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
RESULT="false"
5757
fi
5858
59-
echo "::set-output name=result::$RESULT"
59+
echo "result=$RESULT" >> $GITHUB_OUTPUT
6060
6161
check-cache:
6262
needs: run-determination

.github/workflows/check-license.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
RESULT="false"
5555
fi
5656
57-
echo "::set-output name=result::$RESULT"
57+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5858
5959
check-license:
6060
needs: run-determination

.github/workflows/publish-go-tester-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
RESULT="false"
5555
fi
5656
57-
echo "::set-output name=result::$RESULT"
57+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5858
5959
#this job is heavily customized because the build is quite a bit different from other tooling team projects
6060
build:

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: |
5454
curl -L -s https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip -o /tmp/3.1.0.zip
5555
unzip -p /tmp/3.1.0.zip semver-tool-3.1.0/src/semver >/tmp/semver && chmod +x /tmp/semver
56-
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
56+
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "IS_PRE=true" >> $GITHUB_OUTPUT; fi
5757
5858
- name: Disable EOL conversions
5959
run: git config --global core.autocrlf false
@@ -524,7 +524,7 @@ jobs:
524524
run: |
525525
curl -L -s https://github.com/fsaintjacques/semver-tool/archive/3.1.0.zip -o /tmp/3.1.0.zip
526526
unzip -p /tmp/3.1.0.zip semver-tool-3.1.0/src/semver >/tmp/semver && chmod +x /tmp/semver
527-
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "::set-output name=IS_PRE::true"; fi
527+
if [[ $(/tmp/semver get prerel ${GITHUB_REF/refs\/tags\//}) ]]; then echo "IS_PRE=true" >> $GITHUB_OUTPUT; fi
528528
529529
# mandatory step because upload-release-action does not support multiple folders
530530
- name: prepare artifacts for the release
@@ -568,7 +568,7 @@ jobs:
568568
vt_title_pre="${vt_title_pre//'\n'/'%0A'}"
569569
vt_links="${vt_links//$'\n'/'%0A'}" # replace \n with a special character -> generates a single lines, \n will be reintroduced later
570570
vt_title_post="${vt_title_post//'\n'/'%0A'}"
571-
echo "::set-output name=RBODY::$body'%0A'$vt_title_pre$vt_links$vt_title_post"
571+
echo "RBODY=$body'%0A'$vt_title_pre$vt_links$vt_title_post" >> $GITHUB_OUTPUT
572572
573573
- name: Create Github Release
574574
uses: actions/create-release@v1

.github/workflows/sync-labels.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
run: |
104104
# Use of this flag in the github-label-sync command will cause it to only check the validity of the
105105
# configuration.
106-
echo "::set-output name=flag::--dry-run"
106+
echo "flag=--dry-run" >> $GITHUB_OUTPUT
107107
108108
- name: Checkout repository
109109
uses: actions/checkout@v3

.github/workflows/test-go-integration-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
RESULT="false"
5656
fi
5757
58-
echo "::set-output name=result::$RESULT"
58+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5959
6060
test:
6161
needs: run-determination

.github/workflows/test-go-task.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
RESULT="false"
5252
fi
5353
54-
echo "::set-output name=result::$RESULT"
54+
echo "result=$RESULT" >> $GITHUB_OUTPUT
5555
5656
test:
5757
name: test (${{ matrix.module.path }} - ${{ matrix.operating-system }})

0 commit comments

Comments
 (0)