diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 77bcd8dd..b88a7666 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -113,19 +113,10 @@ jobs: - uses: actions/download-artifact@v3 with: path: artifacts - - - name: list artifacts - run: ls artifacts/* - - # Goreleaser - - name: Set up Go - uses: actions/setup-go@v4 - - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v5 + + - uses: "marvinpinto/action-automatic-releases@latest" with: - distribution: goreleaser - version: latest - # Run goreleaser and ignore non-committed files (downloaded artifacts) - args: release --clean --skip=validate - env: - GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }} + repo_token: "${{ secrets.RELEASE_TOKEN }}" + prerelease: true + files: | + artifacts/wstunnel-*