Skip to content

Commit

Permalink
Fix incorrect replacements from the previous automated run
Browse files Browse the repository at this point in the history
Signed-off-by: Arun <arun@arun.blog>
  • Loading branch information
arunsathiya committed Jan 19, 2024
1 parent cbe5f2f commit ee436a2
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: Check for new Grpc release

on:
schedule:
- cron: '0 0 * * *'
- cron: "0 0 * * *"
workflow_dispatch:

jobs:
check-release:
runs-on: ubuntu-18.04

outputs:
latest-release: ${{ steps.latest.outputs.LATEST_RELEASE }}
current-release: ${{ steps.current.outputs.CURRENT_RELEASE }}
Expand All @@ -21,18 +21,18 @@ jobs:
run: |
sudo apt-get update -y
sudo apt-get install -y curl jq
GRPC_LATEST=$(curl -s https://pypi.org/pypi/grpcio/json | jq -r '.info.version')
echo "LATEST_RELEASE=" >> "$GITHUB_OUTPUT"$GRPC_LATEST
echo "LATEST_RELEASE=$GRPC_LATEST" >> "$GITHUB_OUTPUT"
echo "Latest Grpc version: $GRPC_LATEST"
- name: Get current Grpc release for s390x
id: current
run: |
GRPC_CURRENT=$(curl -s https://api.github.com/repos/IBM/grpc-for-Z/releases/latest | grep tag_name | cut -d '"' -f4)
echo "CURRENT_RELEASE=" >> "$GITHUB_OUTPUT"$GRPC_CURRENT
echo "CURRENT_RELEASE=$GRPC_CURRENT" >> "$GITHUB_OUTPUT"
echo "Current Grpc version on IBMZ: $GRPC_CURRENT"
build-new-release:
needs: [check-release]
if: ${{ needs.check-release.outputs.latest-release }} != ${{ needs.check-release.outputs.current-release }}
Expand Down

0 comments on commit ee436a2

Please sign in to comment.