File tree Expand file tree Collapse file tree 2 files changed +12
-9
lines changed
.idea/.idea.SimpleVolumeMixer/.idea Expand file tree Collapse file tree 2 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 1515
1616jobs :
1717 build-artifact :
18- runs-on : windows-2019
1918 if : github.event.pull_request.merged == true
20-
19+ runs-on : windows-2019
2120 outputs :
2221 artifactName : ${{ steps.vars.outputs.artifactName }}
2322 artifactVersion : ${{ steps.vars.outputs.applicationVersion }}
7372
7473 create-release :
7574 runs-on : ubuntu-latest
76- if : github.event.pull_request.merged == true
77-
7875 needs : build-artifact
7976 outputs :
8077 uploadUrl : ${{ steps.export-upload-url.outputs.uploadUrl }}
@@ -83,10 +80,10 @@ jobs:
8380 - id : vars
8481 shell : bash
8582 run : |
86- if { [ "${{ needs.build-artifact.outputs.prereleaseVersionNoLeadingHyphen }}" = "beta" ] } || { [ "${{ needs.build-artifact.outputs.prereleaseVersionNoLeadingHyphen }}" = "alpha" ] } ; then
87- echo "::set-output name=isPrerelease::true";
83+ if [ "${{ needs.build-artifact.outputs.prereleaseVersionNoLeadingHyphen }}" = "beta" ] || [ "${{ needs.build-artifact.outputs.prereleaseVersionNoLeadingHyphen }}" = "alpha" ]; then
84+ echo "::set-output name=isPrerelease::true"
8885 else
89- echo "::set-output name=isPrerelease::false";
86+ echo "::set-output name=isPrerelease::false"
9087 fi;
9188
9289 - id : create-release
@@ -106,8 +103,6 @@ jobs:
106103
107104 upload-release :
108105 runs-on : ubuntu-latest
109- if : github.event.pull_request.merged == true
110-
111106 needs : [ create-release, build-artifact ]
112107 env :
113108 artifactName : ${{ needs.build-artifact.outputs.artifactName }}
You can’t perform that action at this time.
0 commit comments