Skip to content

Attempt 5

Attempt 5 #5

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: Get current commit hash
id: get_commit
run: echo "::set-output name=commit_sha::$(git rev-parse HEAD)"
- name: Create or update nightly tag
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: false
release_branches: master,NightlyTest
tag_prefix: ''
custom_tag: nightly
commit_sha: ${{ steps.get_commit.outputs.commit_sha }}
create_annotated_tag: true