diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml new file mode 100644 index 0000000..cd386b4 --- /dev/null +++ b/.github/workflows/publish.yaml @@ -0,0 +1,13 @@ +on: + release: + types: + - published +name: Update Go Module Index +jobs: + bump-index: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + - name: Ping endpoint + run: curl "https://proxy.golang.org/github.com/r-goswami/email-validator/@v/$(git describe HEAD --tags --abbrev=0).info" \ No newline at end of file