Skip to content

Terraform Testing Release #23

Terraform Testing Release

Terraform Testing Release #23

Workflow file for this run

name: Terraform Testing Release
on:
workflow_dispatch:
inputs:
version:
description: 'Version'
required: true
type: string
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Validate
run: |
if ! [[ "${{ inputs.version }}" =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
exit 1
fi
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Bump Terraform Testing version
run: git tag ${{ inputs.version }}
- name: Push
run: git push origin --tags
- name: Create Go Sync Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ inputs.version }}
release_name: ${{inputs.version}}
draft: false
prerelease: false