Skip to content

Commit

Permalink
Add release GitHub action
Browse files Browse the repository at this point in the history
  • Loading branch information
iganbold committed Sep 10, 2020
1 parent 1f180cc commit a246e9e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/hack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Release to Terraform registry

on:
push:
branches:
- master

jobs:
release-on-push:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- id: release
uses: rymndhng/release-on-push-action@master
with:
bump_version_scheme: patch
- name: Check Output Parameters
run: |
echo "Got tag name ${{ steps.release.outputs.tag_name }}"
echo "Got release version ${{ steps.release.outputs.version }}"

0 comments on commit a246e9e

Please sign in to comment.