From 4788d57107e7b33548d54cadd04127f7eb713711 Mon Sep 17 00:00:00 2001 From: Simon Gregor Ebner Date: Thu, 20 Feb 2025 20:37:54 +0100 Subject: [PATCH] adding an upload action step --- .github/workflows/build.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cdde7f9..d999d2f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,8 +4,8 @@ name: Build and Release # on: [push] on: push: - # tags: - # - 'v*.*.*' + tags: + - 'v*.*.*' jobs: build-and-release: @@ -19,10 +19,10 @@ jobs: - run: go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest - run: xcaddy build --with github.com/simongregorebner/caddy-gitea=. - # - uses: actions/upload-artifact@v4 - # with: - # name: ${{ github.event.repository.name }}_${{ matrix.go_os }} - # path: ${{ github.event.repository.name }}_${{ matrix.go_os }} + - uses: actions/upload-artifact@v4 + with: + name: caddy_${{ github.ref }} + path: caddy # - name: Create release # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}