From 6f473cfa07c4d9c9cee6a6c3fb879257f3ef3e73 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Tue, 18 Jan 2022 20:41:47 -0600 Subject: [PATCH] check out code too --- .github/workflows/release-and-poke.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/release-and-poke.yml b/.github/workflows/release-and-poke.yml index 0af084a..853e1ca 100644 --- a/.github/workflows/release-and-poke.yml +++ b/.github/workflows/release-and-poke.yml @@ -1,5 +1,7 @@ name: Push to go package system on tag + + on: push: tags: @@ -9,5 +11,9 @@ jobs: prod: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + with: + ref: ${{ github.ref_name }} + persist-credentials: false - name: prod proxy run: GOPROXY=proxy.golang.org go list -m github.com/${{ github.repository }}@${{ github.ref_name }}