Skip to content

Merge pull request #13 from hmcts/timestamps #12

Merge pull request #13 from hmcts/timestamps

Merge pull request #13 from hmcts/timestamps #12

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
create_release_tag:
runs-on: ubuntu-latest
steps:
- name: Create tag
uses: actions/github-script@v5
with:
script: |
try {
github.rest.git.createRef({
owner: context.repo.owner,
repo: context.repo.repo,
ref: "refs/tags/" + "0.19." + context.runNumber,
sha: context.sha
})
} catch(err) {
core.warning(`Failed to create ${context.runNumber}: ${err}`);
}