Skip to content

Commit

Permalink
WIP: manual auth
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueaklein committed Aug 8, 2024
1 parent 9ae94ce commit a4b3280
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,12 @@ jobs:
outputs:
TARGET_BUILT: ${{ steps.cache-library-directory.outputs.TARGET_BUILT }}
steps:
- name: Authenticate GitHub CLI
run: |
echo $GH_TOKEN | gh auth login --with-token
gh auth status
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: Create library keys and paths to cache/build
id: create-lib-cache-keys
shell: bash
Expand Down Expand Up @@ -941,6 +947,8 @@ jobs:
${{ matrix.target-save-data.upload-release-json }}
done
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Upload JSON file release on build failure
if: ${{ failure() && steps.build-updated-libraries.conclusion == 'failure' }}
Expand Down Expand Up @@ -971,6 +979,8 @@ jobs:
((numberOfTries++))
done
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Save target OS SDK as github release
shell: bash
Expand Down Expand Up @@ -1030,3 +1040,5 @@ jobs:
jq <<< $jsonStr > release.json
${{ matrix.target-save-data.upload-release-json }}
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

0 comments on commit a4b3280

Please sign in to comment.