From 4023d805a058b9e265f37ef8f3a7aeb6898f5ba7 Mon Sep 17 00:00:00 2001 From: Rodolfo Olivieri Date: Mon, 16 Oct 2023 13:18:10 -0300 Subject: [PATCH] Update release workflow The current release workflow was using golang 1.16 and failing to download and vendor the dependencies, but since the build is not being used during the brew builds, as we generate new ones, the easiest option was to remove that dated workflow and let only the distribution-tarball generate the needed files. Signed-off-by: Rodolfo Olivieri --- .github/workflows/release.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0eea1cd..e87c797 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,18 +22,13 @@ jobs: - name: Checkout the repository uses: actions/checkout@v4 - - name: Generate build files - uses: thatisuday/go-cross-build@v1.0.2 + - uses: actions/setup-go@v4 with: - platforms: 'linux/amd64' - package: 'src' - name: 'rhc-worker-script-${{ steps.tagName.outputs.tag }}' - compress: 'true' - dest: 'dist' + go-version: '1.19' - name: Generate distribution tarball run: | - make distribution-tarball + mkdir dist && make distribution-tarball sudo mv *.tar.gz dist/ env: VERSION: '${{ steps.tagName.outputs.tag }}'