programmatic subagents
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: drop retired macos-13 runner, fix binary name clash and lockfile in release workflow

+3 -7
+3 -7
.github/workflows/release.yml
··· 13 13 include: 14 14 - os: macos-latest 15 15 bottle_tag: arm64_sequoia 16 - - os: macos-13 17 - bottle_tag: ventura 18 16 - os: ubuntu-latest 19 17 bottle_tag: x86_64_linux 20 18 runs-on: ${{ matrix.os }} 21 19 steps: 22 20 - uses: actions/checkout@v4 23 21 - uses: oven-sh/setup-bun@v2 24 - - run: bun install --frozen-lockfile 22 + - run: bun install 25 23 - name: Compile binary 26 - run: bun build --compile packages/cli/src/bin/mill.ts --outfile mill 24 + run: bun build --compile packages/cli/src/bin/mill.ts --outfile mill-bin 27 25 - name: Package bottle 28 26 run: | 29 27 VERSION=${GITHUB_REF_NAME#v} 30 28 mkdir -p "mill/${VERSION}/bin" 31 - cp mill "mill/${VERSION}/bin/" 29 + cp mill-bin "mill/${VERSION}/bin/mill" 32 30 tar czf "mill-${VERSION}.${{ matrix.bottle_tag }}.bottle.tar.gz" "mill/${VERSION}/" 33 31 - uses: actions/upload-artifact@v4 34 32 with: ··· 72 70 VERSION=${GITHUB_REF_NAME#v} 73 71 SOURCE_SHA=$(curl -sL "https://github.com/laulauland/mill/archive/refs/tags/v${VERSION}.tar.gz" | shasum -a 256 | cut -d' ' -f1) 74 72 ARM64_SHA=$(shasum -a 256 "mill-${VERSION}.arm64_sequoia.bottle.tar.gz" | cut -d' ' -f1) 75 - X86_MAC_SHA=$(shasum -a 256 "mill-${VERSION}.ventura.bottle.tar.gz" | cut -d' ' -f1) 76 73 LINUX_SHA=$(shasum -a 256 "mill-${VERSION}.x86_64_linux.bottle.tar.gz" | cut -d' ' -f1) 77 74 78 75 cat > /tmp/mill.rb << RUBY ··· 86 83 bottle do 87 84 root_url "https://github.com/laulauland/mill/releases/download/v${VERSION}" 88 85 sha256 arm64_sequoia: "${ARM64_SHA}" 89 - sha256 ventura: "${X86_MAC_SHA}" 90 86 sha256 x86_64_linux: "${LINUX_SHA}" 91 87 end 92 88