diff --git a/.github/workflows/build-nightly.yml b/.github/workflows/build-nightly.yml index 51c3f3c92..90b343568 100644 --- a/.github/workflows/build-nightly.yml +++ b/.github/workflows/build-nightly.yml @@ -48,6 +48,20 @@ jobs: tag: Nightly prerelease: true allowUpdates: true + - name: Move tag + if: ${{ github.event_name == 'push'}} + uses: actions/github-script@v7 + with: + result-encoding: string + script: | + github.rest.git.createTag({ + context.repo.owner, + context.repo.repo, + "Nightly", + "", + ${{ github.sha }}, + }) + attach-artifacts: name: Attach artifacts