From 1563a8c2262a719644d198d327d0a729ff91a7d4 Mon Sep 17 00:00:00 2001 From: Paramtamtam <7326800+tarampampam@users.noreply.github.com> Date: Sat, 29 Jun 2024 20:32:37 +0400 Subject: [PATCH] =?UTF-8?q?wip:=20=F0=9F=94=95=20temporary=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/tests.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b3529ba..78e4635 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -58,11 +58,11 @@ jobs: CGO_ENABLED: 0 LDFLAGS: -s -w -X gh.tarampamp.am/error-pages/internal/appmeta.version=${{ steps.slug.outputs.commit-hash-short }} run: go build -trimpath -ldflags "$LDFLAGS" -o ./error-pages ./cmd/error-pages/ - - if: matrix.os == runner.os && matrix.arch == runner.arch + - if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }} run: ./error-pages --version && ./error-pages -h - - if: matrix.os == runner.os && matrix.arch == runner.arch + - if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }} run: mkdir ./out && ./error-pages --log-level=debug build --index --target-dir ./out - - if: matrix.os == runner.os && matrix.arch == runner.arch + - if: ${{ matrix.os == runner.os && matrix.arch == runner.arch }} run: | test -f ./out/index.html test -f ./out/ghost/404.html