From 48ba93cf9a3b81c752d4c342ef77ad53625302f6 Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Mon, 9 Mar 2026 14:24:00 +0400 Subject: [PATCH] chore: remove homebrew version bump and fix r2 url --- .github/workflows/release.yml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9f9df96..d3ceb71 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -272,7 +272,7 @@ jobs: - name: Sync existing repo metadata from R2 env: - R2_ENDPOINT: ${{ secrets.R2_ENDPOINT_URL }} + R2_ENDPOINT: "https://${{ secrets.R2_ENDPOINT_URL }}" R2_BUCKET: ${{ secrets.R2_BUCKET_NAME }} run: | mkdir -p /tmp/repo @@ -296,7 +296,7 @@ jobs: - name: Upload repository to R2 env: - R2_ENDPOINT: ${{ secrets.R2_ENDPOINT_URL }} + R2_ENDPOINT: "https://${{ secrets.R2_ENDPOINT_URL }}" R2_BUCKET: ${{ secrets.R2_BUCKET_NAME }} run: | aws s3 sync /tmp/repo/dists "s3://${R2_BUCKET}/dists" \ @@ -310,24 +310,10 @@ jobs: - name: Verify upload env: - R2_ENDPOINT: ${{ secrets.R2_ENDPOINT_URL }} + R2_ENDPOINT: "https://${{ secrets.R2_ENDPOINT_URL }}" R2_BUCKET: ${{ secrets.R2_BUCKET_NAME }} run: | echo "DEB repo:" aws s3 ls "s3://${R2_BUCKET}/dists/stable/" --endpoint-url "${R2_ENDPOINT}" echo "RPM repo:" aws s3 ls "s3://${R2_BUCKET}/repodata/" --endpoint-url "${R2_ENDPOINT}" - - bump-homebrew-cask: - needs: [release] - runs-on: macos-latest - permissions: - contents: read - steps: - - name: Bump Homebrew cask - env: - HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }} - run: | - brew tap --force homebrew/cask - VERSION="${GITHUB_REF_NAME#v}" - brew bump-cask-pr --version "$VERSION" --no-browse donut