From 422b6777301618cac72bd3c8a303d844c2433030 Mon Sep 17 00:00:00 2001 From: Alex Tymchuk Date: Wed, 19 Jul 2023 14:28:12 +0300 Subject: [PATCH] PMM-12339 remove go tip PMM-12339 https://goreleaser.com/deprecations/?h=rm+dist#-rm-dist --- .github/workflows/release.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be856db4..25a97407 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,32 +7,32 @@ on: - v* # manually trigger the release workflow_dispatch: + jobs: goreleaser: runs-on: ubuntu-latest steps: - - - name: Checkout - uses: percona-platform/checkout@v2 + - name: Checkout + uses: actions/checkout@v3 with: fetch-depth: 0 - - - name: Set up Go - uses: percona-platform/setup-go@v2 + + - name: Set up Go + uses: actions/setup-go@v4 with: - go-version: 1.19 - - - name: Login to GitHub Container Registry - uses: percona-platform/login-action@v1 + go-version-file: ${{ github.workspace }}/go.mod + + - name: Login to GitHub Container Registry + uses: docker/login-action@v2 with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - - name: Run GoReleaser - uses: percona-platform/goreleaser-action@v2 + + - name: Run GoReleaser + uses: goreleaser/goreleaser-action@v4 with: version: latest - args: release --rm-dist + args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}