Skip to content
name: Release new action version
on:
release:
types: [released]
workflow_dispatch:
inputs:
tag-name:
description: 'Tag name that the major tag will point to.'
required: true
env:
TAG_NAME: ${{ github.event.inputs.tag-name || github.event.release.tag_name }}
permissions:
contents: write
jobs:
update-tag:
name: Update the major tag to include the ${{ github.event.inputs.tag-name || github.event.release.tag_name }} changes
runs-on: ${{ fromJSON(vars.SWI_GLORG_PROD_UBUNTU_2204) }}
steps:
- name: Update the ${{ env.TAG_NAME }} tag
uses: actions/publish-action@v0.3.0
with:
source-tag: ${{ env.TAG_NAME }}