Skip to content

Commit

Permalink
WIP: Temporary manual auth added because the secret expired I think
Browse files Browse the repository at this point in the history
  • Loading branch information
henriqueaklein committed Aug 7, 2024
1 parent 737046b commit 39cf4b2
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build-targets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ name: Cache Sources and build Artifact Libraries per OS
on:
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN_1 }}
jobs:
setup-src-cache:
runs-on: ubuntu-latest
Expand All @@ -23,6 +21,13 @@ jobs:
with:
submodules: false

- name: Authenticate GitHub CLI
run: |
echo $GH_TOKEN | gh auth login --with-token
gh auth status
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Install GH cli extension actions-cache
run: |
gh extension install actions/gh-actions-cache
Expand All @@ -33,6 +38,8 @@ jobs:
echo "REPO=${{ github.repository }}" >> $GITHUB_ENV
echo "BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}

- name: Find cache and clean out old caches of `thirdparty`
id: tp-check
Expand Down

0 comments on commit 39cf4b2

Please sign in to comment.