From 5ffb944bd3e0e830f3bc3a1011688a892ac22f2a Mon Sep 17 00:00:00 2001 From: Prasanna Loganathar Date: Thu, 10 Mar 2022 13:21:26 +0530 Subject: [PATCH] Fix darwin sdk mismatch and move to 18. --- .github/workflows/hotfix-builds.yaml | 8 ++++---- .github/workflows/release-builds.yaml | 20 ++++++++++---------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/hotfix-builds.yaml b/.github/workflows/hotfix-builds.yaml index 7917617f15..e5197680ae 100644 --- a/.github/workflows/hotfix-builds.yaml +++ b/.github/workflows/hotfix-builds.yaml @@ -69,10 +69,10 @@ jobs: - uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f - name: Build and package - run: TARGET="x86_64-apple-darwin11" ./make.sh docker-release-git + run: TARGET="x86_64-apple-darwin18" ./make.sh docker-release-git - - name: Publish artifact - x86_64-apple-darwin11 + - name: Publish artifact - x86_64-apple-darwin18 uses: actions/upload-artifact@e448a9b857ee2131e752b06002bf0e093c65e571 with: - name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11 - path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz + name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18 + path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz diff --git a/.github/workflows/release-builds.yaml b/.github/workflows/release-builds.yaml index a68adf21c2..70209ce1de 100644 --- a/.github/workflows/release-builds.yaml +++ b/.github/workflows/release-builds.yaml @@ -73,13 +73,13 @@ jobs: - uses: actions/checkout@v3 - name: Build and package - run: TARGET="x86_64-apple-darwin11" ./make.sh docker-release-git + run: TARGET="x86_64-apple-darwin18" ./make.sh docker-release-git - - name: Publish artifact - x86_64-apple-darwin11 + - name: Publish artifact - x86_64-apple-darwin18 uses: actions/upload-artifact@v3 with: - name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11 - path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz + name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18 + path: ./build/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz create-release: needs: @@ -125,8 +125,8 @@ jobs: sha256sum ./defichain-${{ env.BUILD_VERSION }}-x86_64-pc-linux-gnu.tar.gz > ./defichain-${{ env.BUILD_VERSION }}-x86_64-pc-linux-gnu.tar.gz.SHA256 cd .. && cd ./defichain-${{ env.BUILD_VERSION }}-x86_64-w64-mingw32 sha256sum ./defichain-${{ env.BUILD_VERSION }}-x86_64-w64-mingw32.zip > ./defichain-${{ env.BUILD_VERSION }}-x86_64-w64-mingw32.zip.SHA256 - cd .. && cd ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11 - sha256sum ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz > ././defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz.SHA256 + cd .. && cd ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18 + sha256sum ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz > ././defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz.SHA256 - name: Upload release asset - linux uses: actions/upload-release-asset@v1 @@ -174,8 +174,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_release_by_tag.outputs.upload_url }} - asset_path: ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz - asset_name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz + asset_path: ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz + asset_name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz asset_content_type: application/gzip - name: Upload checksum asset - macos @@ -184,6 +184,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ steps.get_release_by_tag.outputs.upload_url }} - asset_path: ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz.SHA256 - asset_name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin11.tar.gz.SHA256 + asset_path: ./defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18/defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz.SHA256 + asset_name: defichain-${{ env.BUILD_VERSION }}-x86_64-apple-darwin18.tar.gz.SHA256 asset_content_type: text/plain