diff --git a/.github/workflows/next.yaml b/.github/workflows/next.yaml index dd64d73..f02c691 100644 --- a/.github/workflows/next.yaml +++ b/.github/workflows/next.yaml @@ -50,7 +50,7 @@ jobs: distribution: goreleaser # 'latest', 'nightly', or a semver version: "~> v2" - args: release --clean --draft + args: release --auto-snapshot --draft env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 2fb9cd8..e94108d 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -53,10 +53,6 @@ jobs: uses: actions/setup-go@v5 with: go-version: stable - # More assembly might be required: Docker logins, GPG, etc. - # It all depends on your needs. - - uses: obfu5c8/action-svu@v1 - id: svu - name: Run GoReleaser uses: goreleaser/goreleaser-action@v6 with: @@ -64,9 +60,13 @@ jobs: distribution: goreleaser # 'latest', 'nightly', or a semver version: "~> v2" - args: release --snapshot + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GORELEASER_CURRENT_TAG: ${{ steps.install_svu.outputs.version }} # Your GoReleaser Pro key, if you are using the 'goreleaser-pro' distribution - # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} \ No newline at end of file + # GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} + - name: Upload assets + uses: actions/upload-artifact@v3 + with: + name: binary + path: dist/* \ No newline at end of file