aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorMohammed Al Sahaf <[email protected]>2024-10-02 19:12:29 +0300
committerGitHub <[email protected]>2024-10-02 16:12:29 +0000
commit01be1b54a8c9b7e6ea52af8165c583d4d2ebe7e3 (patch)
tree6f197edd2d3e1291bda5013f651ee1c347f66edf /.github
parent41f5dd56e1b93ec815daa98dd1f1caa7f2087312 (diff)
downloadcaddy-01be1b54a8c9b7e6ea52af8165c583d4d2ebe7e3.tar.gz
caddy-01be1b54a8c9b7e6ea52af8165c583d4d2ebe7e3.zip
ci: install xcaddy to fix release flow (#6602)v2.9.0-beta.2
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml15
-rw-r--r--.github/workflows/release.yml4
2 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 3a74d8cc6..a88bd17a4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -202,3 +202,18 @@ jobs:
with:
version: latest
args: check
+ - name: Install Go
+ uses: actions/setup-go@v5
+ with:
+ go-version: "~1.23"
+ check-latest: true
+ - name: Install xcaddy
+ run: |
+ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
+ xcaddy version
+ - uses: goreleaser/goreleaser-action@v6
+ with:
+ version: latest
+ args: build --single-target --snapshot
+ env:
+ TAG: "master"
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 1eb59e9d0..d788ca361 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -104,6 +104,10 @@ jobs:
uses: anchore/sbom-action/download-syft@main
- name: Syft version
run: syft version
+ - name: Install xcaddy
+ run: |
+ go install github.com/caddyserver/xcaddy/cmd/xcaddy@latest
+ xcaddy version
# GoReleaser will take care of publishing those artifacts into the release
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v6