File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,18 @@ jobs:
104104 permissions :
105105 contents : write
106106 steps :
107+ - name : Checkout (to update nightly tag)
108+ uses : actions/checkout@v4
109+ with :
110+ fetch-depth : 0
111+
112+ - name : Move 'nightly' tag to this commit
113+ run : |
114+ git config user.name "github-actions[bot]"
115+ git config user.email "github-actions[bot]@users.noreply.github.com"
116+ git tag -f nightly "$GITHUB_SHA"
117+ git push origin nightly --force
118+
107119 - name : Download all packaged artifacts
108120 uses : actions/download-artifact@v4
109121 with :
@@ -143,8 +155,7 @@ jobs:
143155 - name : Publish Nightly Release (upload assets)
144156 uses : softprops/action-gh-release@v2
145157 with :
146- tag_name : nightly
147- target_commitish : ${{ github.sha }}
158+ tag_name : nightly # tag now points at $GITHUB_SHA
148159 prerelease : true
149160 draft : false
150161 make_latest : " false"
You can’t perform that action at this time.
0 commit comments