Skip to content

Commit

Permalink
Bleh
Browse files Browse the repository at this point in the history
  • Loading branch information
gwynne committed Oct 14, 2023
1 parent 11246bb commit 3e063a7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/actions/generate-swift-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ runs:
run: |
curl -fLv -X POST \
-H 'Accept: application/vnd.github+json' \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer ${TOKEN}" \
-H 'X-GitHub-Api-Version: 2022-11-28' \
"${GITHUB_API_URL}/repos/${REPO_SPEC}/dependency-graph/snapshots" \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ func main() {
}
resolved[dep.identity] = .init(
package_url: .init(with: url, version: dep.version),
dependencies: dep.dependencies.map(\.identity).sorted()
dependencies: dep.dependencies.map {
SwiftPUrl(with: $0.url, version: $0.version).rawValue
}.sorted()
)
}
}
Expand Down

0 comments on commit 3e063a7

Please sign in to comment.