name: CLI (Mac) on: workflow_dispatch: inputs: commit_sha: description: "Git commit SHA to evaluate" required: true type: string env: target_sha: ${{ github.event.inputs.commit_sha }} jobs: cli-mac: name: CLI (Mac) runs-on: macos-latest steps: - name: ๐Ÿ“ฅ Checkout repository uses: actions/checkout@v4 with: ref: ${{ env.target_sha }} - name: ๐Ÿฆ• Setup Deno uses: ./.github/actions/deno-setup - name: ๐Ÿ“ฆ Cache Deno dependencies uses: actions/cache@v3 with: # TODO these are not the paths used in macos path: | ~/.deno ~/.cache/deno key: ${{ runner.os }}-deno-${{ hashFiles('**/deno.json') }} - name: ๐Ÿงช Build CLI run: | deno task build-binaries --cli-only - name: ๐Ÿ“ค Upload CLI uses: actions/upload-artifact@v4 with: name: macos-cli path: | ./dist/ct