From 8d279f1f5ad896a96f6416e7b7226ad2dcf370b7 Mon Sep 17 00:00:00 2001 From: Pascal Riesinger Date: Tue, 9 Jul 2024 18:47:19 +0200 Subject: [PATCH] Create release from tags --- .github/workflows/binary.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/binary.yaml b/.github/workflows/binary.yaml index fdab4c6..cf794d0 100644 --- a/.github/workflows/binary.yaml +++ b/.github/workflows/binary.yaml @@ -33,5 +33,11 @@ jobs: - name: Upload artifact uses: actions/upload-artifact@v3 with: - name: myapp-${{ matrix.goos }}-${{ matrix.goarch }} - path: myapp-${{ matrix.goos }}-${{ matrix.goarch }} + name: plausible-exporter-${{ matrix.goos }}-${{ matrix.goarch }} + path: plausible-exporter-${{ matrix.goos }}-${{ matrix.goarch }} + + - name: Release + uses: softprops/action-gh-release@v2 + if: startsWith(github.ref, 'refs/tags/') + with: + files: "./plausible-exporter-*"