Compare commits

..
Author SHA1 Message Date
Ajaykn-mac 6441a9b8a4 Fix go release workflow by updating to latest version
licenced / Licences Check (push) Has been cancelled
2022-05-24 09:06:37 +05:30
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -14,13 +14,11 @@ jobs:
with:
fetch-depth: 0
- name: Set up Go 1.14
uses: actions/setup-go@v2-beta
with:
go-version: 1.14
uses: actions/setup-go@v3
- name: Set CURRENT_TAG
run: echo "GORELEASER_CURRENT_TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v1
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist
+1 -1
View File
@@ -159,7 +159,7 @@ func main() {
if repoName != existingRepo {
w.WriteHeader(http.StatusNotFound)
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", html.EscapeString(repoName))))
_, err := w.Write([]byte(fmt.Sprintf("Repo %s not found", repoName)))
if err != nil {
panic(err)
}