From 5f20d36632e5f085a3233a9cf01496ccbd73b4ea Mon Sep 17 00:00:00 2001 From: Bengt Wegner Date: Thu, 19 Sep 2024 10:27:51 +0200 Subject: [PATCH] chore: renamed resulting artifacts and action Signed-off-by: Bengt Wegner --- .github/workflows/release_binaries.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_binaries.yml b/.github/workflows/release_binaries.yml index 7f4cfcb..494e87b 100644 --- a/.github/workflows/release_binaries.yml +++ b/.github/workflows/release_binaries.yml @@ -1,8 +1,8 @@ -name: Build Release Binaries +name: Build Binaries on: push: - branches: [ "chore/release_binaries" ] + branches: [ "main" ] jobs: build: @@ -36,7 +36,7 @@ jobs: - name: Build binary run: | mkdir -p dist - GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/app-${{ matrix.goos }}-${{ matrix.goarch }} . + GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} go build -o dist/${{ github.event.repository.name }}_${{ matrix.goos }}_${{ matrix.goarch }} . - name: Upload build artifacts uses: actions/upload-artifact@v3