Skip to content

Commit 8ed438b

Browse files
committed
GHA: wire up swift-build revision tracking
Track the revision of swift-build. This is not yet wired up into the build, but this is the first step towards integrating swift-build into the toolchain.
1 parent 9e84624 commit 8ed438b

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/build-toolchain.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ jobs:
147147
swift_argument_parser_revision: ${{ steps.context.outputs.swift_argument_parser_revision }}
148148
swift_asn1_revision: ${{ steps.context.outputs.swift_asn1_revision }}
149149
swift_atomics_revision: ${{ steps.context.outputs.swift_atomics_revision }}
150+
swift_build_revision: ${{ steps.context.outputs.swift_build_revision }}
150151
swift_certificates_revision: ${{ steps.context.outputs.swift_certificates_revision }}
151152
swift_cmark_revision: ${{ steps.context.outputs.swift_cmark_revision }}
152153
swift_cmark_version: ${{ steps.context.outputs.swift_cmark_version }}
@@ -239,6 +240,7 @@ jobs:
239240
swift_argument_parser_revision=refs/tags/1.4.0
240241
swift_asn1_revision=refs/tags/0.7.0
241242
swift_atomics_revision=refs/tags/1.2.0
243+
swift_build_revision=refs/heads/main
242244
swift_certificates_revision=refs/tags/0.1.0
243245
swift_cmark_revision=refs/tags/${{ inputs.swift_tag }}
244246
swift_collections_revision=refs/tags/1.1.2
@@ -663,6 +665,7 @@ jobs:
663665
swift_argument_parser_revision: ${{ needs.context.outputs.swift_argument_parser_revision }}
664666
swift_asn1_revision: ${{ needs.context.outputs.swift_asn1_revision }}
665667
swift_atomics_revision: ${{ needs.context.outputs.swift_atomics_revision }}
668+
swift_build_revision: ${{ needs.context.outputs.swift_build_revision }}
666669
swift_certificates_revision: ${{ needs.context.outputs.swift_certificates_revision }}
667670
swift_cmark_revision: ${{ needs.context.outputs.swift_cmark_revision }}
668671
swift_cmark_version: ${{ needs.context.outputs.swift_cmark_version }}
@@ -737,6 +740,7 @@ jobs:
737740
swift_argument_parser_revision: ${{ needs.context.outputs.swift_argument_parser_revision }}
738741
swift_asn1_revision: ${{ needs.context.outputs.swift_asn1_revision }}
739742
swift_atomics_revision: ${{ needs.context.outputs.swift_atomics_revision }}
743+
swift_build_revision: ${{ needs.context.outputs.swift_build_revision }}
740744
swift_certificates_revision: ${{ needs.context.outputs.swift_certificates_revision }}
741745
swift_cmark_revision: ${{ needs.context.outputs.swift_cmark_revision }}
742746
swift_cmark_version: ${{ needs.context.outputs.swift_cmark_version }}

.github/workflows/swift-toolchain.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,10 @@ on:
7171
required: true
7272
type: string
7373

74+
swift_build_revision:
75+
required: true
76+
type: string
77+
7478
swift_certificates_revision:
7579
required: true
7680
type: string

0 commit comments

Comments
 (0)