From 00a099523b8eb916bc594993cf5da5246a67b4bd Mon Sep 17 00:00:00 2001 From: xh3b4sd Date: Wed, 24 Jul 2024 11:30:14 +0200 Subject: [PATCH] update workflows (#8) --- .github/workflows/go-release.yaml | 2 +- cmd/create/releasego/template.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go-release.yaml b/.github/workflows/go-release.yaml index 740aadb..3743cb6 100644 --- a/.github/workflows/go-release.yaml +++ b/.github/workflows/go-release.yaml @@ -34,7 +34,7 @@ jobs: GOOS=linux GOARCH=amd64 go build -o workflow-linux-amd64 -ldflags="-X 'github.com/${{ github.repository_owner }}/workflow/pkg/project.gitSHA=${{ github.sha }}' -X 'github.com/${{ github.repository_owner }}/workflow/pkg/project.version=${{ github.ref_name }}'" - name: "Upload To Github" - uses: "softprops/action-gh-release@v1" + uses: "softprops/action-gh-release@v2" with: files: | workflow-darwin-amd64 diff --git a/cmd/create/releasego/template.go b/cmd/create/releasego/template.go index 30158d9..ede4616 100644 --- a/cmd/create/releasego/template.go +++ b/cmd/create/releasego/template.go @@ -37,7 +37,7 @@ jobs: {{- end }} - name: "Upload To Github" - uses: "softprops/action-gh-release@v1" + uses: "softprops/action-gh-release@v2" with: files: | {{- range $k, $v := .Release.Assets }}