File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,16 +26,16 @@ jobs:
26
26
fetch-depth : 0
27
27
28
28
- id : check_tag
29
- name : Check latest tag
29
+ name : Check nightly_release tag
30
30
run : |
31
- $latestHash = $(git rev-parse latest )
31
+ $nightlyReleaseHash = $(git rev-parse nightly_release )
32
32
$masterHash = $(git rev-parse master)
33
- $hasChanged = ($latestHash -ne $masterHash).ToString().ToLower()
33
+ $hasChanged = ($nightlyReleaseHash -ne $masterHash).ToString().ToLower()
34
34
echo "::set-output name=has_changed::$hasChanged"
35
35
36
36
build :
37
37
needs : [check_for_changes]
38
- if : ${{ needs.check_for_changes.outputs.has_changed }}
38
+ if : ${{ needs.check_for_changes.outputs.has_changed == 'true' }}
39
39
runs-on : windows-latest
40
40
41
41
steps :
93
93
run : |
94
94
git config user.name github-actions
95
95
git config user.email [email protected]
96
- git tag -f latest master
96
+ git tag -f nightly_release master
97
97
git push -f --tags
You can’t perform that action at this time.
0 commit comments