Skip to content

Commit

Permalink
Switch to Environment Files to save state acroos CI steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Hurlenko committed Apr 13, 2023
1 parent 1d66b8c commit 59ef93c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59ef93c

Please sign in to comment.