Skip to content

Attempt to add nightly release #1

Attempt to add nightly release

Attempt to add nightly release #1

Workflow file for this run

name: Nightly Tag
on:
push:
branches:
- master
- NightlyTest
jobs:
update-nightly-tag:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Create or update nightly tag
run: |
git config --global user.name "GitHub Action"
git config --global user.email "action@github.com"
# Delete the nightly tag if it exists (both locally and remotely)
git tag -d nightly || true
git push origin :refs/tags/nightly || true
# Create new nightly tag
git tag nightly
git push origin nightly
- name: Set status check
uses: bobheadxi/status@v1
with:
context: nightly-tag
status: success
description: "Nightly tag updated successfully"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}