From 954937dd9f57a14a5f8f63f66b79e835f831c98a Mon Sep 17 00:00:00 2001 From: iganbold Date: Sun, 27 Sep 2020 00:47:05 -0700 Subject: [PATCH] Add release github action --- .github/workflow/hack.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflow/hack.yml diff --git a/.github/workflow/hack.yml b/.github/workflow/hack.yml new file mode 100644 index 0000000..a2b5741 --- /dev/null +++ b/.github/workflow/hack.yml @@ -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 }}"