Skip to content

Commit

Permalink
Add back Fetch install-certs
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandroboron committed Mar 28, 2024
1 parent 8498910 commit 6c7317e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/create_variant.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
- name: Install create-dmg
run: brew install create-dmg

- name: Check out the code
uses: actions/checkout@v4
with:
ref: main
sparse-checkout: .github
- name: Fetch install-certs-and-profiles action
env:
GH_TOKEN: ${{ github.token }}
DEST_DIR: ".github/actions/install-certs-and-profiles"
run: |
mkdir -p "${{ env.DEST_DIR }}"
curl -fLSs $(gh api https://api.github.com/repos/${{ github.repository }}/contents/${{ env.DEST_DIR }}/action.yml?ref=${{ github.ref }} --jq .download_url) \
--output ${{ env.DEST_DIR }}/action.yml
- name: Install Apple Developer ID Application certificate
uses: ./.github/actions/install-certs-and-profiles
Expand Down

0 comments on commit 6c7317e

Please sign in to comment.