Skip to content

Commit

Permalink
fix: checkout with recursive submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
antonbaliasnikov committed Dec 6, 2024
1 parent 3d4764f commit fd12a3b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release-plz.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.gh_token }}
submodules: "recursive"

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -94,7 +95,7 @@ jobs:
cd $(dirname ${{ inputs.manifest_path }})
ORG_OWNER=${{ inputs.org-owner }}
cargo login ${{ secrets.cargo_registry_token }}
for PKG in $(echo "${{ steps.release-plz.outputs.releases }}" | jq -r '.[].package_name'); do
for PKG in $(echo '${{ steps.release-plz.outputs.releases }}' | jq -r '.[].package_name'); do
cargo owner --list --quiet ${PKG} | grep ${ORG_OWNER} || cargo owner --add ${ORG_OWNER} ${PKG}
done
Expand Down Expand Up @@ -148,6 +149,7 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.gh_token }}
submodules: "recursive"

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
Expand Down

0 comments on commit fd12a3b

Please sign in to comment.