Skip to content

Commit

Permalink
#none add go mod tidy in flyteidl release workflow (#151)
Browse files Browse the repository at this point in the history
Signed-off-by: Yuvraj <[email protected]>
  • Loading branch information
yindia authored Jul 22, 2021
1 parent a66e669 commit 5da69f5
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Update flyteidl version
name: Update Flyte component
on:
workflow_dispatch:

jobs:
update-flyte-releases:
name: Update Flyteidl version
name: Update Flyte component
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -23,7 +23,10 @@ jobs:
- name: Update Flyte component
run: |
FLYTEIDL_VERSION=$(curl --silent "https://api.github.com/repos/flyteorg/flyteidl/releases/latest" | jq -r .tag_name)
FLYTESTDLIB_VERSION=$(curl --silent "https://api.github.com/repos/flyteorg/flytestdlib/releases/latest" | jq -r .tag_name)
go get -u github.com/flyteorg/flyteidl@$FLYTEIDL_VERSION
go get -u github.com/flyteorg/flytestdlib@$FLYTESTDLIB_VERSION
go mod tidy
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v3
Expand Down

0 comments on commit 5da69f5

Please sign in to comment.