From e073f87d10a99446b35f07cec6fc9b2c235e5e58 Mon Sep 17 00:00:00 2001 From: Jake Omann Date: Wed, 3 May 2023 22:44:21 -0500 Subject: [PATCH] Add github action on publish release (#17) --- .github/workflows/tag.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/tag.yml diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml new file mode 100644 index 0000000..26847bb --- /dev/null +++ b/.github/workflows/tag.yml @@ -0,0 +1,16 @@ + +name: Release Updates + +on: + release: + types: [published] + +jobs: + + update-version: + runs-on: ubuntu-latest + steps: + - name: Submit Version Change + run: | + curl --request GET "https://api.rechecked.io/versions?product=rcagent&action=set_latest&version=$GITHUB_REF_NAME&api_key=${{ secrets.RECHECKED_API_KEY }}" +