Skip to content

Commit

Permalink
Add support for older mac os (selfcustody/krux#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff S committed Aug 1, 2022
1 parent a7ca5fd commit 60dfd84
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/create-exe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-10.15, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand All @@ -37,6 +37,13 @@ jobs:
name: ktool-mac
path: dist/ktool

- name: Upload the Mac-10 executable
if: matrix.os == 'macos-10.15'
uses: actions/upload-artifact@v2
with:
name: ktool-mac-10
path: dist/ktool

- name: Upload the Linux executable
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-artifact@v2
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
needs: create-release
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [ubuntu-latest, macos-10.15, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -55,6 +55,17 @@ jobs:
asset_name: ktool-mac
asset_content_type: application/octet-stream

- name: Upload the Mac-10 executable
if: matrix.os == 'macos-10.15'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_path: dist/ktool
asset_name: ktool-mac-10
asset_content_type: application/octet-stream

- name: Upload the Linux executable
if: matrix.os == 'ubuntu-latest'
uses: actions/upload-release-asset@v1
Expand Down

0 comments on commit 60dfd84

Please sign in to comment.