Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: skip darwin target (#8696)
Danny Xucea8a2b66ca7
diff --git a/.github/workflows/build-artifacts-and-draft-release.yml b/.github/workflows/build-artifacts-and-draft-release.ymlindex e43841a662..069fb88c32 100644--- a/.github/workflows/build-artifacts-and-draft-release.yml+++ b/.github/workflows/build-artifacts-and-draft-release.yml@@ -36,76 +36,23 @@ jobs:with:name: bytebase-linuxpath: dist/bytebase*- build-darwin-binary:- runs-on: macos-latest- steps:- - uses: actions/checkout@v4- - uses: actions/setup-go@v4- with:- go-version: 1.21.2- - uses: pnpm/[email protected]- with:- version: 8.8.0- - uses: actions/setup-node@v3- with:- node-version: "18"- cache: pnpm- cache-dependency-path: "frontend/pnpm-lock.yaml"- - run: pnpm install --frozen-lockfile- working-directory: frontend- - run: pnpm release- working-directory: frontend- - name: Build- uses: goreleaser/goreleaser-action@v5- with:- args: release --skip-publish --config scripts/.goreleaser-for-darwin.yaml- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- - name: Upload- uses: actions/upload-artifact@v3- with:- name: bytebase-darwin- path: dist/bytebase*draft-release:- needs: [build-linux-binary, build-darwin-binary]+ needs: [build-linux-binary]runs-on: ubuntu-lateststeps:- uses: actions/checkout@v4- - uses: actions/setup-go@v4- with:- go-version: 1.21.2- - uses: pnpm/[email protected]- with:- version: 8.8.0- - uses: actions/setup-node@v3- with:- node-version: "18"- cache: pnpm- cache-dependency-path: "frontend/pnpm-lock.yaml"- - run: pnpm install --frozen-lockfile- working-directory: frontend- - run: pnpm release- working-directory: frontend- name: Make directoriesrun: |mkdir -p ./bytebase-build/linux- mkdir -p ./bytebase-build/darwin- name: Download linux binariesuses: actions/download-artifact@v3with:name: bytebase-linuxpath: ./bytebase-build/linux- - name: Download darwin binaries- uses: actions/download-artifact@v3- with:- name: bytebase-darwin- path: ./bytebase-build/darwin- name: Merge checksum filerun: |cd ./bytebase-build- cat ./darwin/bytebase*checksums.txt >> checksums.txtcat ./linux/bytebase*checksums.txt >> checksums.txt- rm ./darwin/bytebase*checksums.txtrm ./linux/bytebase*checksums.txt- name: Releaseuses: goreleaser/goreleaser-action@v5