From 5668c41c53de952ad486284fb5818d565f2245f0 Mon Sep 17 00:00:00 2001 From: Pascal Eberlein Date: Sun, 1 Oct 2023 20:20:08 +0200 Subject: [PATCH] adjust release action --- .github/workflows/build.yml | 6 ------ .github/workflows/release.yml | 4 ++-- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cc2a86e..26b5b88 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,9 +26,3 @@ jobs: run: | go get . go build -v -o dhtc-${{ matrix.os }} dhtc - - - name: Archive production artifacts - uses: actions/upload-artifact@v3 - with: - name: dist-without-markdown - path: dhtc-* diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 969b9d9..f0cd06a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,10 +27,10 @@ jobs: - name: Build run: | go get . - go build -v dhtc + go build -v -o dhtc-${{ matrix.os }} dhtc - name: Release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') with: - files: dhtc* + files: dhtc-*