From 53e6db4212a6d6e28d43f88acf93f24043b3eeb5 Mon Sep 17 00:00:00 2001 From: macwis Date: Thu, 11 Jan 2024 11:34:40 +0100 Subject: [PATCH] release artifacts fix --- .github/workflows/pr.yml | 7 +------ .github/workflows/release.yml | 4 +++- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ec757ed..7768651 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,11 +1,6 @@ -# This workflow will build a golang project -# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go - -name: Go +name: Build and test on: - push: - branches: [ "main" ] pull_request: branches: [ "main" ] diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ecd8254..8dd4ed6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,3 +1,5 @@ +name: Build and release + on: push: branches: @@ -28,4 +30,4 @@ jobs: - uses: ncipollo/release-action@v1 with: tag: ${{ steps.tag_version.outputs.new_tag }} - artifacts: "./dist/linux/spc-linux-amd64,./dist/macos/compuinvest-macos-arm64" + artifacts: "./dist/linux/spc-linux-amd64,./dist/macos/spc-macos-arm64"