From 59ef93cc3c20ff41802614c1608f392288589cfc Mon Sep 17 00:00:00 2001 From: Anton Hurlenko Date: Thu, 13 Apr 2023 18:55:51 +0300 Subject: [PATCH] Switch to Environment Files to save state acroos CI steps --- .github/workflows/dockerimage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dockerimage.yml b/.github/workflows/dockerimage.yml index 0820178..5dc97b1 100644 --- a/.github/workflows/dockerimage.yml +++ b/.github/workflows/dockerimage.yml @@ -16,8 +16,8 @@ jobs: sudo apt-get update && sudo apt-get install jq -y THIS_REPO=https://api.github.com/repos/$GITHUB_REPOSITORY/releases/latest TARGET_REPO=https://api.github.com/repos/mayswind/AriaNg/releases/latest - echo ::set-output name=current::"$(curl $THIS_REPO | jq -r '.tag_name')" - echo ::set-output name=target::"$(curl $TARGET_REPO | jq -r '.tag_name')" + echo "current=$(curl $THIS_REPO | jq -r '.tag_name')" >> $GITHUB_STATE + echo "target=$(curl $TARGET_REPO | jq -r '.tag_name')" >> $GITHUB_STATE id: releases - name: Install Docker CE