From 0deb6db0b1b1c7c2fe50994cdfbb9722ba5d1dbb Mon Sep 17 00:00:00 2001 From: Florian Ostertag Date: Wed, 24 Apr 2024 16:35:13 +0200 Subject: [PATCH] First work on moving tag --- .github/workflows/build-nightly.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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