fix release action and only run on main

This commit is contained in:
Chris Ainsworth-Patrick
2023-08-21 13:28:59 +01:00
parent 58a00c1c28
commit ea6437da47

View File

@@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3
- uses: wangyoucao577/go-release-action@v1.35
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.GHA_REPO_TOKEN }}
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
goversion: 1.19.1