diff --git a/.github/workflows/docker-testnet.yml b/.github/workflows/docker-testnet.yml index 81b1b5a7ac..fc39c42155 100644 --- a/.github/workflows/docker-testnet.yml +++ b/.github/workflows/docker-testnet.yml @@ -1,4 +1,4 @@ -name: lthn/chain:latest +name: lthn/chain:testnet on: push: branches: diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 3b197f5a9e..9d36a1e145 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -61,8 +61,8 @@ jobs: run: | ${{env.CCACHE_SETTINGS}} ${{env.BUILD_DEFAULT_LINUX}} - - run: LETHEAN_RELEASE=linux make ci-release + - run: LETHEAN_RELEASE=linux make zip-release - uses: actions/upload-artifact@v2 with: - name: linux-amd64 - path: ${{ github.workspace }}/build/packaged/ + name: linux.tar + path: ${{ github.workspace }}/build/linux.tar diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 91e79e7ce0..fd58edbfc7 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -55,9 +55,9 @@ jobs: run: | ${{env.CCACHE_SETTINGS}} make release-static-mac-x86_64 -j${HOMEBREW_MAKE_JOBS} - - run: LETHEAN_RELEASE=macOS make ci-release + - run: LETHEAN_RELEASE=macOS make zip-release - uses: actions/upload-artifact@v2 with: - name: macOS-intel - path: ${{ github.workspace }}/build/packaged/ + name: macOS.tar + path: ${{ github.workspace }}/build/macOS.tar diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 7745062baf..7606014f0b 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -51,8 +51,8 @@ jobs: ${{env.CCACHE_SETTINGS}} make release-static-win64-boost make release-static-win64 -j2 - - run: LETHEAN_RELEASE=windows make ci-release + - run: LETHEAN_RELEASE=windows make zip-release - uses: actions/upload-artifact@v2 with: - name: windows-amd64 - path: ${{ github.workspace }}/build/packaged + name: windows.tar + path: ${{ github.workspace }}/build/windows.tar diff --git a/Makefile b/Makefile index 5118a136ba..2e19eb273f 100644 --- a/Makefile +++ b/Makefile @@ -82,9 +82,9 @@ ci-release: # cp & chmod release/bin/lethean*) & LICENCE > build/$LETHEAN_VERSIO mkdir -p build/packaged cp build/$(LETHEAN_VERSION)/release/bin/* build/packaged/ -zip-release: # cd into packaged, zip a clean release file for an artifact +zip-release: ci-release # cd into packaged, zip a clean release file for an artifact cp LICENSE build/packaged/LICENSE - cd build/packaged/ && zip -r ../$(LETHEAN_RELEASE).zip . -i * + cd build/packaged/ && tar -cvf ../$(LETHEAN_RELEASE).tar . release-static-linux-armv6: ## arch: armv6zk