Skip to content

Commit

Permalink
Fix: GitHub Nightly Build WorkFlow (GtiHub Token variable)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGAlexandru committed Dec 19, 2024
1 parent 11b5f06 commit 25873cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nightly_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ jobs:
with:
route: GET /repos/${{github.repository}}/actions/workflows/nightly_build.yml/runs?per_page=1&status=completed
env:
GITHUB_TOKEN: '${{ secrets.MY_TOKEN }}'
- run: "echo Last Nightly build: ${{ fromJson(steps.check_last_run.outputs.data).workflow_runs[0].head_sha }}"
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
- run: 'echo Last Nightly Build: ${{ fromJson(steps.check_last_run.outputs.data).workflow_runs[0].head_sha }}'
outputs:
last_sha: ${{ fromJson(steps.check_last_run.outputs.data).workflow_runs[0].head_sha }}

Expand Down

0 comments on commit 25873cb

Please sign in to comment.