name: build on: push: branches: ["main"] pull_request: branches: ["main"] workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} cancel-in-progress: true jobs: build: strategy: matrix: platform: [ubuntu-latest] go-version: ["1.21"] name: Build runs-on: ${{ matrix.platform }} steps: - name: Setup Go uses: actions/setup-go@v4 with: go-version: ${{ matrix.go-version }} - name: Checkout uses: actions/checkout@v4 - name: Build run: | bash build.sh -v dev -P -p "windows,linux,darwin" - uses: "marvinpinto/action-automatic-releases@latest" with: repo_token: "${{ secrets.GITHUB_TOKEN }}" automatic_release_tag: "dev" title: "Dev Build" prerelease: true files: | build/*