fix action

This commit is contained in:
0g-wh 2024-08-05 16:19:43 +08:00
parent dbffdac659
commit fd4fc4ebb2
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ jobs:
with:
go-version: '1.21'
- name: Build
run: make build-release
run: sudo make build-release
- name: Rename file
run: mv ./out/linux/0gchaind ./out/linux/0gchaind-linux-${{ github.ref_name }}
- name: Upload Release Asset

View File

@ -201,7 +201,7 @@ else
endif
build-release: go.sum
wget https://github.com/CosmWasm/wasmvm/releases/download/$(WASMVM_VERSION)/libwasmvm_muslc.$(ARCH).a -O libwasmvm.$(ARCH).a
wget -q https://github.com/CosmWasm/wasmvm/releases/download/$(WASMVM_VERSION)/libwasmvm_muslc.$(ARCH).a -O /lib/libwasmvm.$(ARCH).a
$(GO_BIN) build -mod=readonly $(BUILD_FLAGS) -o out/$(shell $(GO_BIN) env GOOS)/$(BINARY_NAME) $(MAIN_ENTRY)
build-linux: go.sum