From 914dee58dca5b2c41f1034ede0a3b9e83d6ca2d6 Mon Sep 17 00:00:00 2001 From: IceCodeNew <32576256+IceCodeNew@users.noreply.github.com> Date: Sun, 4 Dec 2022 15:20:11 +0800 Subject: [PATCH] fix the smoking test for windows runner; also output the info of caddy version --- .github/workflows/go.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 89648fe..ecbec16 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -58,17 +58,22 @@ jobs: - name: Build run: | - xcaddy build master --output ${{ runner.temp }}/caddy --with github.com/mholt/caddy-ratelimit=./ + xcaddy build master --output ${{ runner.temp }}/${{ matrix.name }} --with github.com/mholt/caddy-ratelimit=./ # smoking test echo '' echo '########' - echo '# caddy list-modules' - ${{ runner.temp }}/caddy list-modules + echo "# ${{ runner.temp }}/${{ matrix.name }} version" + ${{ runner.temp }}/${{ matrix.name }} version echo '########' echo '' echo '########' - echo '# caddy build-info' - ${{ runner.temp }}/caddy build-info + echo "# ${{ runner.temp }}/${{ matrix.name }} list-modules" + ${{ runner.temp }}/${{ matrix.name }} list-modules + echo '########' + echo '' + echo '########' + echo "# ${{ runner.temp }}/${{ matrix.name }} build-info" + ${{ runner.temp }}/${{ matrix.name }} build-info echo '########' - name: Test