Skip to content

Commit 53b702d

Browse files
authored
Auto-upload macOS ARM binaries to draft release (rust-lang#3320)
In rust-lang#3266 a job to build macOS ARM binaries was added, but the artifacts weren't yet propagated to the release. This PR adds this missing step.
1 parent 107daa7 commit 53b702d

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ jobs:
323323
if: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/kani-') }}
324324
name: Release
325325
runs-on: ubuntu-20.04
326-
needs: [build_bundle_macos, build_bundle_linux, test_bundle, test_alt_platform]
326+
needs: [build_bundle_macos, build_bundle_macos_aarch64, build_bundle_linux, test_bundle, test_alt_platform]
327327
permissions:
328328
contents: write
329329
outputs:
@@ -355,6 +355,11 @@ jobs:
355355
with:
356356
name: ${{ needs.build_bundle_macos.outputs.bundle }}
357357

358+
- name: Download MacOS ARM bundle
359+
uses: actions/download-artifact@v3
360+
with:
361+
name: ${{ needs.build_bundle_macos_aarch64.outputs.bundle }}
362+
358363
- name: Download Linux bundle
359364
uses: actions/download-artifact@v3
360365
with:
@@ -368,7 +373,7 @@ jobs:
368373
with:
369374
name: kani-${{ env.TAG_VERSION }}
370375
tag: kani-${{ env.TAG_VERSION }}
371-
artifacts: "${{ needs.build_bundle_linux.outputs.bundle }},${{ needs.build_bundle_macos.outputs.bundle }}"
376+
artifacts: "${{ needs.build_bundle_linux.outputs.bundle }},${{ needs.build_bundle_macos.outputs.bundle }},${{ needs.build_bundle_macos_aarch64.outputs.bundle }}"
372377
body: |
373378
Kani Rust verifier release bundle version ${{ env.TAG_VERSION }}.
374379
draft: true

0 commit comments

Comments
 (0)