Skip to content

Commit 27f00a4

Browse files
committed
Address PR feedback: token, allowUpdates, artifact path
1 parent b9e2a03 commit 27f00a4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,13 @@ jobs:
7979
steps:
8080
- name: Checkout repo
8181
uses: actions/checkout@v4
82+
with:
83+
token: ${{ secrets.SELENIUM_CI_TOKEN }}
84+
persist-credentials: true
8285
- name: Download release packages
8386
uses: actions/download-artifact@v4
8487
with:
8588
pattern: release-packages-*
86-
path: build/dist
8789
merge-multiple: true
8890
- name: Delete nightly release and tag
8991
env:
@@ -98,7 +100,7 @@ jobs:
98100
- name: Create GitHub release
99101
uses: ncipollo/release-action@v1
100102
with:
101-
allowUpdates: true
103+
allowUpdates: ${{ github.run_attempt > 1 }}
102104
artifacts: "build/dist/*.*"
103105
bodyFile: "scripts/github-actions/release_header.md"
104106
generateReleaseNotes: true

0 commit comments

Comments
 (0)