File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,18 +44,18 @@ jobs:
44
44
$repo.DownloadLinkUpdate = $repo.DownloadLinkInstall
45
45
$repo | ConvertTo-Json | % { "[`n" + $_ + "`n]" } | Set-Content 'repo.json'
46
46
- name : Create Release
47
- if : ${{ vars .RELEASE_VERSION != '0.0.0.0' }}
47
+ if : ${{ env .RELEASE_VERSION != '0.0.0.0' }}
48
48
id : create_release
49
49
uses : actions/create-release@v1
50
50
env :
51
51
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
52
with :
53
- tag_name : v${{ vars .RELEASE_VERSION }}
54
- release_name : IINACT ${{ vars .RELEASE_VERSION }}
53
+ tag_name : v${{ env .RELEASE_VERSION }}
54
+ release_name : IINACT ${{ env .RELEASE_VERSION }}
55
55
draft : false
56
56
prerelease : false
57
57
- name : Upload Release Asset
58
- if : ${{ vars .RELEASE_VERSION != '0.0.0.0' }}
58
+ if : ${{ env .RELEASE_VERSION != '0.0.0.0' }}
59
59
id : upload-release-asset
60
60
uses : actions/upload-release-asset@v1
61
61
env :
@@ -66,14 +66,14 @@ jobs:
66
66
asset_name : IINACT.zip
67
67
asset_content_type : application/zip
68
68
- name : Commit repo.json
69
- if : ${{ vars .RELEASE_VERSION != '0.0.0.0' }}
69
+ if : ${{ env .RELEASE_VERSION != '0.0.0.0' }}
70
70
run : |
71
71
git config --global user.name "Actions User"
72
72
git config --global user.email "[email protected] "
73
73
git fetch origin main
74
74
git checkout main
75
75
git add repo.json
76
- git commit -m "[CI] Updating repo.json for ${{ vars .RELEASE_VERSION }}" || true
76
+ git commit -m "[CI] updating repo.json for ${{ env .RELEASE_VERSION }}" || true
77
77
git push origin main
78
78
79
79
You can’t perform that action at this time.
0 commit comments