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