mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
Improve job names in Github Actions preview
Before: `CI / PR (mingw-check, false, ubuntu-20.04-16core-64gb) (pull_request)` After: `CI / PR - mingw-check (pull_request)`
This commit is contained in:
parent
eb3e9c1f45
commit
423e76f1dd
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -34,7 +34,7 @@ jobs:
|
|||
pr:
|
||||
permissions:
|
||||
actions: write
|
||||
name: PR
|
||||
name: "PR - ${{ matrix.name }}"
|
||||
env:
|
||||
CI_JOB_NAME: "${{ matrix.name }}"
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||
|
@ -159,7 +159,7 @@ jobs:
|
|||
auto:
|
||||
permissions:
|
||||
actions: write
|
||||
name: auto
|
||||
name: "auto - ${{ matrix.name }}"
|
||||
env:
|
||||
CI_JOB_NAME: "${{ matrix.name }}"
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||
|
@ -578,7 +578,7 @@ jobs:
|
|||
try:
|
||||
permissions:
|
||||
actions: write
|
||||
name: try
|
||||
name: "try - ${{ matrix.name }}"
|
||||
env:
|
||||
CI_JOB_NAME: "${{ matrix.name }}"
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
|
||||
|
|
|
@ -284,7 +284,7 @@ jobs:
|
|||
permissions:
|
||||
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
|
||||
<<: *base-ci-job
|
||||
name: PR
|
||||
name: PR - ${{ matrix.name }}
|
||||
env:
|
||||
<<: [*shared-ci-variables, *public-variables]
|
||||
if: github.event_name == 'pull_request'
|
||||
|
@ -312,7 +312,7 @@ jobs:
|
|||
permissions:
|
||||
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
|
||||
<<: *base-ci-job
|
||||
name: auto
|
||||
name: auto - ${{ matrix.name }}
|
||||
env:
|
||||
<<: [*shared-ci-variables, *prod-variables]
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'
|
||||
|
@ -741,7 +741,7 @@ jobs:
|
|||
permissions:
|
||||
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
|
||||
<<: *base-ci-job
|
||||
name: try
|
||||
name: try - ${{ matrix.name }}
|
||||
env:
|
||||
<<: [*shared-ci-variables, *prod-variables]
|
||||
if: github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'
|
||||
|
|
Loading…
Reference in a new issue