Fix release action not working right.
release / release (push) Successful in 2m46s

This commit is contained in:
2024-12-31 04:32:26 -07:00
parent ca9862c6c9
commit 91900a1b2f
+3 -3
View File
@@ -13,9 +13,9 @@ jobs:
with: with:
fetch-depth: 0 fetch-depth: 0
- name: setup go - name: setup go
uses: actions/setup-go@v5 uses: https://github.com/actions/setup-go@v4
with: with:
go-version: '>=1.20.1' go-version: '>=1.22.0'
- name: release-build - name: release-build
run: go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-linux-amd64 run: go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-linux-amd64
- name: release-build-windows - name: release-build-windows
@@ -24,7 +24,7 @@ jobs:
run: GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-darwin-amd64 run: GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w -X 'main.Version=${{ github.ref_name }}'" -o bin/go-opds-pse-${{ github.ref_name }}-darwin-amd64
- name: Use Go Action - name: Use Go Action
id: use-go-action id: use-go-action
uses: actions/release-action@main uses: https://gitea.com/actions/release-action@main
with: with:
files: |- files: |-
bin/** bin/**