Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When updating ndc-multitenant, allow for updating dependencies. #167

Merged
merged 1 commit into from
Nov 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/update-multitenant-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,7 @@ jobs:
- name: Send pull-request
run: |
# get newest commit to use
pushd ndc-postgres
LATEST_SHA=$(git rev-parse --short HEAD)
popd
LATEST_SHA=$(cd ndc-postgres && git rev-parse --short HEAD)

BRANCH_NAME="update-ndc-postgres-to-$LATEST_SHA"
DEP_FILEPATH="Cargo.toml"
Expand All @@ -54,8 +52,8 @@ jobs:
eval `ssh-agent -s`
ssh-add - <<< '${{ secrets.SSH_GIT_ACCESS_PRIVATE }}'

# Update Cargo lock file only for workspace
cargo update -w
# Update Cargo lock file, but as little as possible
cargo update -p ndc-postgres

# Commit the changes and push the feature branch to origin
git add .
Expand Down