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