mirror of
https://github.com/0glabs/0g-chain.git
synced 2025-04-02 14:55:17 +00:00
fix action
This commit is contained in:
parent
dbffdac659
commit
fd4fc4ebb2
2
.github/workflows/upload-release-assets.yml
vendored
2
.github/workflows/upload-release-assets.yml
vendored
@ -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
|
||||
|
2
Makefile
2
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user