mirror of
https://github.com/willfarrell/docker-crontab.git
synced 2025-06-27 06:08:03 +02:00
ci: fix eq operator
This commit is contained in:
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user