Skip to content

Commit

Permalink
Fix darwin sdk mismatch and move to 18.
Browse files Browse the repository at this point in the history
  • Loading branch information
prasannavl committed Mar 10, 2022
1 parent 532842d commit 5ffb944
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/hotfix-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 10 additions & 10 deletions .github/workflows/release-builds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 5ffb944

Please sign in to comment.