diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edf460ba5f9..ce9d3ad767b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -46,44 +46,44 @@ jobs: # name: dist-linux-${{ matrix.arch }} # path: build/linux/*/*/usql*.tar.bz2 -# build_for_macos: -# name: Build for MacOS -# runs-on: macos-latest -# strategy: -# matrix: -# arch: [amd64, arm64] -# steps: -# - name: Install build dependencies -# run: brew install coreutils -# - name: Checkout -# uses: actions/checkout@v3 -# - name: Setup Go -# uses: actions/setup-go@v4 -# with: -# go-version: ${{ env.GO_VERSION }} -# - name: Build amd64 -# run: ./build-release.sh -r -a ${{ matrix.arch }} + build_for_macos: + name: Build for MacOS + runs-on: macos-latest + strategy: + matrix: + arch: [amd64, arm64] + steps: + - name: Install build dependencies + run: brew install coreutils + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: ${{ env.GO_VERSION }} + - name: Build amd64 + run: ./build-release.sh -r -a ${{ matrix.arch }} # - name: Archive artifacts # uses: actions/upload-artifact@v3 # with: # name: dist-darwin-${{ matrix.arch }} # path: build/darwin/*/*/usql*.tar.bz2 -# build_for_windows: -# name: Build for Windows -# runs-on: windows-latest -# steps: -# - name: Install build dependencies -# run: choco install zip -# - name: Checkout -# uses: actions/checkout@v3 -# - name: Setup Go -# uses: actions/setup-go@v4 -# with: -# go-version: ${{ env.GO_VERSION }} -# - name: Build amd64 -# shell: bash -# run: ./build-release.sh -r + build_for_windows: + name: Build for Windows + runs-on: windows-latest + steps: + - name: Install build dependencies + run: choco install zip + - name: Checkout + uses: actions/checkout@v3 + - name: Setup Go + uses: actions/setup-go@v4 + with: + go-version: ${{ env.GO_VERSION }} + - name: Build amd64 + shell: bash + run: ./build-release.sh -r # - name: Archive artifacts # uses: actions/upload-artifact@v3 # with: