File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,25 +21,25 @@ A string value of 'true' or 'false'
21
21
22
22
To check if the tag ` v1.0 ` exists in your repo:
23
23
``` yaml
24
- - uses : mukunku/tag-exists-action@v1.5 .0
24
+ - uses : mukunku/tag-exists-action@v1.6 .0
25
25
id : check-tag
26
26
with :
27
27
tag : ' v1.0'
28
28
29
29
- run : echo "Tag exists!"
30
- if : ${{ steps.check-tag.outputs.exists == 'true' }}
30
+ if : steps.check-tag.outputs.exists == 'true'
31
31
` ` `
32
32
33
33
To check if the tag [` v1.0.0`](https://github.com/actions/checkout/releases/tag/v1.0.0) exists in the repo `actions/checkout`:
34
34
` ` ` yaml
35
- - uses: mukunku/tag-exists-action@v1.5 .0
35
+ - uses: mukunku/tag-exists-action@v1.6 .0
36
36
id: check-tag
37
37
with:
38
38
tag: 'v1.0.0'
39
39
repo: 'actions/checkout'
40
40
41
41
- run: echo "Tag exists!"
42
- if: steps.check-tag.outputs.exists == 'true' # you can drop ${{ }} on 'if' checks
42
+ if: steps.check-tag.outputs.exists == 'true'
43
43
` ` `
44
44
45
45
<hr>
You can’t perform that action at this time.
0 commit comments