From 1d4924d137d4dfc96e99f6b665604044c42feb12 Mon Sep 17 00:00:00 2001 From: iganbold Date: Sat, 5 Sep 2020 23:59:08 -0700 Subject: [PATCH] Add GitHub actions to release on push --- .github/workflows/hack.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/hack.yml diff --git a/.github/workflows/hack.yml b/.github/workflows/hack.yml new file mode 100644 index 0000000..9212e38 --- /dev/null +++ b/.github/workflows/hack.yml @@ -0,0 +1,21 @@ +name: Release for 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 }}"