release-enigma-go #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: release-enigma-go | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: Release Version (major, minor, patch) | |
required: true | |
jobs: | |
create-release: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
steps: | |
- name: Setup Go environment | |
uses: actions/[email protected] | |
with: | |
go-version: '^1.17' | |
- name: Checkout enigma-go repo | |
uses: actions/checkout@v2 | |
with: | |
repository: qlik-oss/enigma-go | |
ref: master | |
fetch-depth: 0 | |
token: ${{ secrets.GH_ACCESS_TOKEN}} | |
- name: Setup Git environment | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "github-actions-bot" | |
- name: Create enigma-go release | |
run: | | |
./release/release.sh ${{ github.event.inputs.version }} | |
git push --follow-tags |