9898 target/release/ado-aw-windows-x64.exe `
9999 --clobber
100100
101- build-macos-x64 :
102- name : Build (macOS x64)
103- needs : release-please
104- if : >-
105- always() &&
106- (needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch')
107- runs-on : macos-13
108- steps :
109- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
110-
111- - uses : dtolnay/rust-toolchain@631a55b12751854ce901bb631d5902ceb48146f7 # stable
112-
113- - uses : Swatinem/rust-cache@9d47c6ad4b02e050fd481d890b2ea34778fd09d6 # v2.7.8
114-
115- - name : Build
116- run : cargo build --release --verbose
117-
118- - name : Run tests
119- run : cargo test --verbose
120-
121- - name : Prepare release assets
122- run : |
123- set -euo pipefail
124- cd target/release
125- cp ado-aw ado-aw-darwin-x64
126-
127- - name : Upload release assets
128- env :
129- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
130- run : |
131- TAG="${{ needs.release-please.outputs.tag_name || github.event.inputs.tag_name }}"
132- gh release upload "$TAG" \
133- target/release/ado-aw-darwin-x64 \
134- --clobber
135-
136101 build-macos-arm64 :
137102 name : Build (macOS arm64)
138103 needs : release-please
@@ -170,13 +135,12 @@ jobs:
170135
171136 checksums :
172137 name : Generate Checksums
173- needs : [release-please, build, build-windows, build-macos-x64, build-macos- arm64]
138+ needs : [release-please, build, build-windows, build-macos-arm64]
174139 if : >-
175140 always() &&
176141 (needs.release-please.outputs.release_created == 'true' || github.event_name == 'workflow_dispatch') &&
177142 needs.build.result == 'success' &&
178143 needs.build-windows.result == 'success' &&
179- needs.build-macos-x64.result == 'success' &&
180144 needs.build-macos-arm64.result == 'success'
181145 runs-on : ubuntu-22.04
182146 steps :
@@ -191,9 +155,8 @@ jobs:
191155 --repo "${{ github.repository }}"
192156 test -f ado-aw-linux-x64 || { echo "Missing ado-aw-linux-x64"; exit 1; }
193157 test -f ado-aw-windows-x64.exe || { echo "Missing ado-aw-windows-x64.exe"; exit 1; }
194- test -f ado-aw-darwin-x64 || { echo "Missing ado-aw-darwin-x64"; exit 1; }
195158 test -f ado-aw-darwin-arm64 || { echo "Missing ado-aw-darwin-arm64"; exit 1; }
196- sha256sum ado-aw-linux-x64 ado-aw-windows-x64.exe ado-aw-darwin-x64 ado-aw-darwin- arm64 > checksums.txt
159+ sha256sum ado-aw-linux-x64 ado-aw-windows-x64.exe ado-aw-darwin-arm64 > checksums.txt
197160
198161 - name : Upload checksums
199162 env :
0 commit comments