File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5959 run : |
6060 $status = if ("${{ job.status }}" -eq "success") { "Success" } else { "Failure" }
6161 $color = if ("${{ job.status }}" -eq "success") { 3066993 } else { 15158332 }
62- $title = "Ubuntu build $status"
62+ $title = "Editor ( Ubuntu) build $status"
6363 $runUrl = "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
6464 $payload = @{
6565 username = "GitHub Actions"
7070 color = $color
7171 fields = @(
7272 @{ name = "Commit"; value = "${{ github.sha }}"; inline = $true }
73+ @{ name = "Message"; value = "${{ github.event.head_commit.message || github.event.pull_request.title }}"; inline = $false }
7374 @{ name = "Branch"; value = "${{ github.ref_name }}"; inline = $true }
7475 )
7576 }
Original file line number Diff line number Diff line change 6969 run : |
7070 $status = if ("${{ job.status }}" -eq "success") { "Success" } else { "Failure" }
7171 $color = if ("${{ job.status }}" -eq "success") { 3066993 } else { 15158332 }
72- $title = "Windows build $status (x64)"
72+ $title = "Editor ( Windows) build $status (x64)"
7373 $runUrl = "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
74+ $downloadUrl = "https://s3.amazonaws.com/openfodder-builds/$env:ZIP_NAME"
7475 $payload = @{
7576 username = "GitHub Actions"
7677 embeds = @(
8081 color = $color
8182 fields = @(
8283 @{ name = "Commit"; value = "${{ github.sha }}"; inline = $true }
84+ @{ name = "Message"; value = "${{ github.event.head_commit.message || github.event.pull_request.title }}"; inline = $false }
8385 @{ name = "Branch"; value = "${{ github.ref_name }}"; inline = $true }
8486 @{ name = "Config"; value = "Release"; inline = $true }
87+ @{ name = "Download"; value = $downloadUrl; inline = $false }
8588 )
8689 }
8790 )
You can’t perform that action at this time.
0 commit comments