Skip to content

Commit

Permalink
ci: export version to github output
Browse files Browse the repository at this point in the history
  • Loading branch information
manhinhang committed Apr 16, 2024
1 parent 6833c2b commit c5c8eb7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/detect-new-ver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: detect new ib gateway version
id: check-update
run: |
ib-gateway-ver=$(python scripts/detect_ib_gateway_ver.py) >> "$GITHUB_OUTPUT"
echo ib-gateway-ver=$(python scripts/detect_ib_gateway_ver.py) >> "$GITHUB_OUTPUT"
python scripts/detect_ibc_ver.py
ibc-ver=${IBC_VER} >> "$GITHUB_OUTPUT"
ibc-asset-url=${IBC_ASSET_URL} >> "$GITHUB_OUTPUT"
echo ibc-ver=${IBC_VER} >> "$GITHUB_OUTPUT"
echo ibc-asset-url=${IBC_ASSET_URL} >> "$GITHUB_OUTPUT"
cur-ib-gateway-ver=$(cat ib-gateway-ver)
cur-ibc-ver=$(cat ibc-ver)
if [ "$ib-gateway-ver" = "$cur-ib-gateway-ver" ]; then
Expand Down

0 comments on commit c5c8eb7

Please sign in to comment.