diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1e8a94e..c13aa6f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,9 +32,9 @@ jobs: - name: Inject slug/short variables uses: rlespinasse/github-slug-action@v3.x - - if: ${{ github.ref === 'refs/heads/main' }} + - if: github.ref == 'refs/heads/main' run: echo ::set-output name=tag::latest - - if: ${{ startsWith(github.ref, 'refs/tags/') }} + - if: startsWith(github.ref, 'refs/tags/') run: echo ::set-output name=tag::${GITHUB_REF#refs/*/} - if: env.tag