From 9db53de71cdd3ada4f67a7bba0fb0979943438f4 Mon Sep 17 00:00:00 2001 From: Mostyn Bramley-Moore Date: Fri, 3 Jan 2025 16:33:56 +0100 Subject: [PATCH] Remove github release workflow I will revert to producing the github release binaries manually for now, so I can create binaries that run on OS releases older than the currently-supported github-hosted runners. --- .github/workflows/release.yml | 66 ----------------------------------- 1 file changed, 66 deletions(-) delete mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index aefa71ebc..000000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: create release binaries - -on: - release: - types: - - published - workflow_dispatch: - -jobs: - linux: - name: create linux binaries - runs-on: ubuntu-22.04 - steps: - - name: checkout code - uses: actions/checkout@v4 - - name: get release version - id: release_version - run: echo VERSION=${GITHUB_REF/refs\/tags\/v/} >> $GITHUB_ENV - - name: build amd64 - run: | - set -eu - bazelisk build //:bazel-remote-linux-amd64 - bazelisk run --run_under "cp -f " //:bazel-remote-linux-amd64 $(pwd)/bazel-remote-${{ env.VERSION }}-linux-x86_64 - - name: build arm64 - run: | - set -eu - bazelisk build //:bazel-remote-linux-arm64 - bazelisk run --run_under "cp -f " //:bazel-remote-linux-arm64 $(pwd)/bazel-remote-${{ env.VERSION }}-linux-arm64 - - name: upload linux binaries - id: upload-release-assets-linux - uses: xresloader/upload-to-github-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - file: bazel-remote-${{ env.VERSION }}-linux-* - overwrite: true - tags: true - - mac: - name: create mac binaries - runs-on: macos-11 - steps: - - name: checkout - uses: actions/checkout@v4 - - name: get release version - id: release_version - run: echo VERSION=${GITHUB_REF/refs\/tags\/v/} >> $GITHUB_ENV - - name: build amd64 - run: | - set -eu - bazelisk build //:bazel-remote-darwin-amd64 - bazelisk run --run_under "cp -f " //:bazel-remote-darwin-amd64 $(pwd)/bazel-remote-${{ env.VERSION }}-darwin-amd64 - - name: build arm64 - run: | - set -eu - bazelisk build //:bazel-remote-darwin-arm64 - bazelisk run --run_under "cp -f " //:bazel-remote-darwin-arm64 $(pwd)/bazel-remote-${{ env.VERSION }}-darwin-arm64 - - name: upload darwin binaries - id: upload-release-assets-darwin - uses: xresloader/upload-to-github-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - file: bazel-remote-${{ env.VERSION }}-darwin-* - overwrite: true - tags: true