File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 8080 - name : Checkout repo
8181 uses : actions/checkout@v4
8282 with :
83- token : ${{ secrets.SELENIUM_CI_TOKEN }}
84- persist-credentials : true
83+ persist-credentials : false
8584 - name : Download release packages
8685 uses : actions/download-artifact@v4
8786 with :
@@ -95,18 +94,18 @@ jobs:
9594 gh release delete nightly --yes
9695 fi
9796 if git ls-remote --tags origin refs/tags/nightly | grep -q nightly; then
98- git push origin --delete refs/tags/nightly
97+ gh api -X DELETE /repos/${{ github.repository }}/git/ refs/tags/nightly
9998 fi
10099 - name : Create GitHub release
101100 uses : ncipollo/release-action@v1
102101 with :
103- allowUpdates : ${{ github.run_attempt > 1 }}
102+ allowUpdates : true
104103 artifacts : " build/dist/*.*"
105104 bodyFile : " scripts/github-actions/release_header.md"
106105 generateReleaseNotes : true
107106 name : " Selenium ${{ needs.prepare.outputs.version }}"
108107 tag : " ${{ needs.prepare.outputs.tag }}"
109- commit : " ${{ github.sha }}"
108+ commit : ${{ github.event.pull_request.merge_commit_sha || github. sha }}
110109
111110 verify :
112111 name : Verify Published Packages
You can’t perform that action at this time.
0 commit comments