Skip to content

Commit f59fb0e

Browse files
committed
Set variable to 'true' or 'false'
1 parent 625e011 commit f59fb0e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/workflow.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ jobs:
2323
docker_image: jk4ger/gitstats
2424
docker_cache_in: /tmp/.buildx-cache
2525
docker_cache_out: /tmp/.buildx-cache-new
26-
# TODO: This doesn't work!
27-
is_publish: ${{github.event_name == 'push' && github.ref_type == 'tag'}}
26+
is_publish: ${{((github.event_name == 'push' && github.ref_type == 'tag') && 'true') || 'false'}}
2827

2928
steps:
3029
- name: Checkout sources

0 commit comments

Comments
 (0)