File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,9 +105,6 @@ runs:
105105 } >> $GITHUB_OUTPUT
106106
107107 - name : Create/Update GitHub Release
108- if : >-
109- github.repository == 'LizardByte/actions' ||
110- (github.event_name == 'push' && github.ref == 'refs/heads/master')
111108 uses : ncipollo/release-action@v1.16.0
112109 with :
113110 allowUpdates : ${{ inputs.allowUpdates }}
@@ -123,16 +120,12 @@ runs:
123120
124121 - name : Sleep
125122 # wait for the new release to be available in the API
126- if : >-
127- inputs.deleteOtherPreReleases == 'true' &&
128- (github.event_name == 'push' && github.ref == 'refs/heads/master')
123+ if : inputs.deleteOtherPreReleases == 'true'
129124 shell : bash
130125 run : sleep 30
131126
132127 - name : Delete Other PreReleases
133- if : >-
134- inputs.deleteOtherPreReleases == 'true' &&
135- (github.event_name == 'push' && github.ref == 'refs/heads/master')
128+ if : inputs.deleteOtherPreReleases == 'true'
136129 uses : actions/github-script@v7
137130 env :
138131 DELETE_TAGS : ${{ inputs.deletePreReleaseTags }}
Original file line number Diff line number Diff line change 44 "runs-on" : " ubuntu-latest" ,
55 "with" : {
66 "allowUpdates" : false ,
7+ "artifactErrorsFailBuild" : true ,
78 "artifacts" : " dist/*" ,
89 "body" : " Test from PR-${ github.event.pull_request.number }" ,
10+ "deleteOtherPreReleases" : false ,
911 "generateReleaseNotes" : false ,
1012 "name" : " pr-${ github.event.pull_request.number }-${ github.run_id }" ,
1113 "prerelease" : true ,
You can’t perform that action at this time.
0 commit comments