Manually download github artifact rather than using the action since the action seems to be flaky

This commit is contained in:
David Dworken 2023-11-05 11:37:14 -08:00
parent 04c915512a
commit a65c3799ed
No known key found for this signature in database

View File

@ -120,25 +120,22 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with:
name: hishtory-darwin-arm64
- uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
with:
name: hishtory-darwin-amd64
- uses: actions/checkout@v2
- name: Setup tmate session for debugging
uses: mxschmitt/action-tmate@v3
env:
GH_TOKEN: ${{ github.token }}
with:
limit-access-to-actor: true
# - name: Setup tmate session for debugging
# uses: mxschmitt/action-tmate@v3
# env:
# GH_TOKEN: ${{ github.token }}
# with:
# limit-access-to-actor: true
- name: Download and sign the latest executables
env:
GH_TOKEN: ${{ github.token }}
MACOS_CERTIFICATE: ${{ secrets.MACOS_CERTIFICATE }}
MACOS_CERTIFICATE_PWD: ${{ secrets.MACOS_CERTIFICATE_PWD }}
run: |
export GITHUB_TOKEN="${{ secrets.GITHUB_TOKEN }}"
gh run download -n hishtory-darwin-amd64
gh run download -n hishtory-darwin-arm64
pip3 install requests
brew install md5sha1sum
pwd