diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 129ebd9..3165aeb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,6 +39,10 @@ jobs: uses: actions/setup-go@v3 with: go-version: 1.18 + - name: Check snapshot + if: "!startsWith(github.ref, 'refs/tags/')" + id: snapshot + run: echo '::set-output name=ARG::--snapshot' - name: Build binary file env: