Skip to content

Commit

Permalink
Use GITHUB_OUTPUT to share variables across steps
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Hurlenko committed Nov 4, 2023
1 parent 59ef93c commit a01f867
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 "current=$(curl $THIS_REPO | jq -r '.tag_name')" >> $GITHUB_STATE
echo "target=$(curl $TARGET_REPO | jq -r '.tag_name')" >> $GITHUB_STATE
echo "current=$(curl $THIS_REPO | jq -r '.tag_name')" >> $GITHUB_OUTPUT
echo "target=$(curl $TARGET_REPO | jq -r '.tag_name')" >> $GITHUB_OUTPUT
id: releases

- name: Install Docker CE
Expand Down

0 comments on commit a01f867

Please sign in to comment.