From fd4fc4ebb2b52cca6581e9d71877a586fb515b41 Mon Sep 17 00:00:00 2001 From: 0g-wh Date: Mon, 5 Aug 2024 16:19:43 +0800 Subject: [PATCH] fix action --- .github/workflows/upload-release-assets.yml | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/upload-release-assets.yml b/.github/workflows/upload-release-assets.yml index 15e13f4c..d45bc47c 100644 --- a/.github/workflows/upload-release-assets.yml +++ b/.github/workflows/upload-release-assets.yml @@ -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 diff --git a/Makefile b/Makefile index 3410f669..6079aca4 100644 --- a/Makefile +++ b/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