Skip to content

Commit

Permalink
replace deprected github set-output command
Browse files Browse the repository at this point in the history
  • Loading branch information
efernandesng committed Oct 19, 2022
1 parent 77da7b1 commit 3316bf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/detect-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
res=$(curl -s https://download2.interactivebrokers.com/installers/tws/${{ matrix.channel }}-standalone/version.json | sed 's/tws${{ matrix.channel }}_callback(//g;s/);//g')
build_version=$(jq -r '.buildVersion' <<< "$res")
#build_dateTime=$(jq -r '.buildDateTime' <<< "$res")
echo "::set-output name=build_version::$build_version"
#echo "::set-output name=build_dateTime::$build_dateTime"
echo "build_version=$build_version" >> $GITHUB_OUTPUT
#echo "build_dateTime=$build_dateTime" >> $GITHUB_OUTPUT
- name: Check if there is an update
id: check-update
Expand All @@ -37,9 +37,9 @@ jobs:
gh release list > /tmp/ibgateway-releases
if grep -qF '${{ steps.version.outputs.build_version }}' /tmp/ibgateway-releases
then
echo "::set-output name=has_update::false"
echo "has_update=false" >> $GITHUB_OUTPUT
else
echo "::set-output name=has_update::true"
echo "has_update=true" >> $GITHUB_OUTPUT
fi
- name: Download
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id: channel
run: |
channel=$(cut -d - -f 2 <<< "${{ github.ref_name }}")
echo "::set-output name=channel::$channel"
echo "channel=$channel" >> $GITHUB_OUTPUT
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
Expand Down

0 comments on commit 3316bf3

Please sign in to comment.