Skip to content

Commit

Permalink
Merge pull request #87 from Nordix/fix-gomod-concurrent-update
Browse files Browse the repository at this point in the history
Fix go.mod concurrent update during release
  • Loading branch information
ljkiraly authored Jan 17, 2025
2 parents 7a33288 + 72428b0 commit 9e1fd5b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/release-dependent-repositories.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,20 @@ jobs:
go-version: 1.23.3
- name: Update ${{ matrix.repository }} locally
working-directory: networkservicemesh/${{ matrix.repository }}
continue-on-error: true
run: |
GOPRIVATE=github.com/networkservicemesh go get -u github.com/${{ github.repository }}@${{ needs.get-tag.outputs.tag }}
go mod tidy
GOPRIVATE=github.com/networkservicemesh go get -u github.com/networkservicemesh/sdk-ovs@${{ needs.get-tag.outputs.tag }}
go mod tidy
GOPRIVATE=github.com/networkservicemesh go get -u github.com/networkservicemesh/sdk-sriov@${{ needs.get-tag.outputs.tag }}
go mod tidy
GOPRIVATE=github.com/networkservicemesh go get -u github.com/networkservicemesh/sdk-kernel@${{ needs.get-tag.outputs.tag }}
go mod tidy
GOPRIVATE=github.com/networkservicemesh go get -u github.com/networkservicemesh/sdk-k8s@${{ needs.get-tag.outputs.tag }}
go mod tidy
GOPRIVATE=github.com/networkservicemesh go get -u github.com/networkservicemesh/sdk-vpp@${{ needs.get-tag.outputs.tag }}
go mod tidy
git diff
- name: Push update to the ${{ matrix.repository }}
working-directory: networkservicemesh/${{ matrix.repository }}
Expand Down

0 comments on commit 9e1fd5b

Please sign in to comment.