Skip to content

Commit ea4e629

Browse files
committed
Ta bort bruk av deprecated setEnv funksjon i Github Actions
1 parent 38f421d commit ea4e629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dp-inntekt-grpc-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
- name: Set release tag
4242
run: |
4343
export TAG_NAME="$(TZ="Europe/Oslo" date +%Y.%m.%d-%H.%M).$(echo $GITHUB_SHA | cut -c 1-12)"
44-
echo "::set-env name=RELEASE_TAG::$TAG_NAME"
44+
echo "RELEASE_TAG=$TAG_NAME" >> $GITHUB_ENV
4545
4646
- name: Set changelog
4747
# (Escape newlines see https://github.com/actions/create-release/issues/25)
@@ -50,7 +50,7 @@ jobs:
5050
text="${text//$'%'/%25}"
5151
text="${text//$'\n'/%0A}"
5252
text="${text//$'\r'/%0D}"
53-
echo "::set-env name=CHANGELOG::$text"
53+
echo "CHANGELOG=$text" >> $GITHUB_ENV
5454
5555
- name: Create Release
5656
id: create_release

0 commit comments

Comments
 (0)