Skip to content

Commit

Permalink
set token for gh cli, avoid pointless reinstall attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonBurns authored Jun 5, 2024
1 parent 81ecae6 commit 3dece4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,9 @@ jobs:
# Retrieve Stable Results for reference
- name : ChatGPT said this would work - Get most recent CI run ID
id: get-run-id
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sudo apt-get install -y gh
run_id=$(gh run list -R ReactionMechanismGenerator/ReactionMechanismGenerator --workflow="Continuous Integration" --limit 1 --json run_id --jq '.[0].run_id')
echo "CI_RUN_ID=$run_id" >> $GITHUB_ENV
- name: Retrieve Stable Regression Results
Expand Down

0 comments on commit 3dece4c

Please sign in to comment.