[libkineto] Create a new port with the latest commit (#303) #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Deploy" | |
on: | |
push: | |
tags: | |
- "*.*.*" | |
jobs: | |
prerelease: | |
name: "Prerelease" | |
runs-on: ubuntu-latest | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
steps: | |
- uses: actions/[email protected] | |
- name: "Run gh(auth)" | |
run: | | |
gh auth setup-git | |
gh auth status | |
- name: "Run make-configuration.ps1" | |
run: | | |
$text = scripts/make-configuration.ps1 -Dump | |
Write-Output "## Configuration" | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | |
Write-Output '```json' | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | |
Write-Output $text | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | |
Write-Output '```' | Out-File -FilePath $env:GITHUB_STEP_SUMMARY -Append | |
shell: pwsh | |
- name: "Run gh(release)" | |
run: | | |
gh release create ${{ github.ref_name }} \ | |
-t ${{ github.ref_name }} \ | |
--discussion-category "General" \ | |
--generate-notes --prerelease | |
gh release upload ${{ github.ref_name }} \ | |
vcpkg-configuration.json |