Skip to content

Commit

Permalink
Merge pull request #3 from microsoft/update_grafana
Browse files Browse the repository at this point in the history
Update grafana JSON files
  • Loading branch information
Alan-Jowett authored Sep 12, 2023
2 parents d44ae87 + 0567391 commit 8c995c6
Show file tree
Hide file tree
Showing 6 changed files with 168 additions and 141 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ jobs:
if: inputs.platform == 'windows-2019' || inputs.platform == 'windows-2022'
run: |
mkdir ${{github.workspace}}/local_packages
$runId = ((Invoke-WebRequest -Uri "https://api.github.com/repos/microsoft/ebpf-for-windows/actions/runs?per_page=1&exclude_pull_requests=true&branch=main&status=completed&event=schedule").Content | ConvertFrom-Json).workflow_runs[0].id
$token = ConvertTo-SecureString -String ${{secrets.github_token}} -AsPlainText -Force
$runId = ((Invoke-WebRequest -Uri "https://api.github.com/repos/microsoft/ebpf-for-windows/actions/runs?per_page=1&exclude_pull_requests=true&branch=main&status=completed&event=schedule" -Token $token).Content | ConvertFrom-Json).workflow_runs[0].id
echo "RUNID=$runId" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
- name: Cache downloaded artifacts
Expand All @@ -70,10 +71,11 @@ jobs:
GH_TOKEN: ${{ github.token }}
if: inputs.platform == 'windows-2019' || inputs.platform == 'windows-2022'
run: |
$token = ConvertTo-SecureString -String ${{secrets.github_token}} -AsPlainText -Force
$artifacts = @()
$artifacts += 'ebpf-for-windows - NuGet package (Build-x64_Release)'
$artifacts += 'ebpf-for-windows - MSI installer (Build-x64_Release)'
scripts\Fetch-LatestArtifacts.ps1 -ArtifactsToDownload $artifacts -OutputPath ${{github.workspace}}/local_packages -RunId ${{env.RUNID}}
scripts\Fetch-LatestArtifacts.ps1 -ArtifactsToDownload $artifacts -OutputPath ${{github.workspace}}/local_packages -RunId ${{env.RUNID}} -GitHubToken $token
- name: Configure CMake - Windows-2019 or Windows-2022
if: inputs.platform == 'windows-2019' || inputs.platform == 'windows-2022'
Expand Down
Loading

0 comments on commit 8c995c6

Please sign in to comment.