diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 51eb8f96..3a353f7c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -7,7 +7,7 @@ on: jobs: goreleaser: - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 # Uses glibc 2.31 for better compatibility permissions: contents: write steps: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index 06d7edb6..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Release - -on: - push: - tags: - - 'v*' - -permissions: - contents: write - -jobs: - goreleaser: - runs-on: ubuntu-20.04 # Uses glibc 2.31 for compatibility - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Set up Go - uses: actions/setup-go@v5 - with: - go-version: '1.23' - - - name: Install build dependencies - run: | - sudo apt-get update - sudo apt-get install -y \ - gcc \ - gcc-aarch64-linux-gnu \ - libc6-dev \ - libc6-dev-arm64-cross - - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 - with: - distribution: goreleaser - version: latest - args: release --clean - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}