ci: run gha workflows for try, auto and master on the fork
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -168,7 +168,7 @@ jobs:
|
|||||||
TOOLSTATE_PUBLISH: 1
|
TOOLSTATE_PUBLISH: 1
|
||||||
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
||||||
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
||||||
if: "github.event_name == 'push' && github.ref == 'refs/heads/try'"
|
if: "github.event_name == 'push' && github.ref == 'refs/heads/try' && github.repository == 'rust-lang-ci/rust'"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
name:
|
name:
|
||||||
@@ -301,7 +301,7 @@ jobs:
|
|||||||
TOOLSTATE_PUBLISH: 1
|
TOOLSTATE_PUBLISH: 1
|
||||||
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
||||||
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
||||||
if: "github.event_name == 'push' && github.ref == 'refs/heads/auto'"
|
if: "github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'"
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
name:
|
name:
|
||||||
@@ -731,7 +731,7 @@ jobs:
|
|||||||
TOOLSTATE_PUBLISH: 1
|
TOOLSTATE_PUBLISH: 1
|
||||||
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
CACHES_AWS_ACCESS_KEY_ID: AKIA46X5W6CZOMUQATD5
|
||||||
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
ARTIFACTS_AWS_ACCESS_KEY_ID: AKIA46X5W6CZH5AYXDVF
|
||||||
if: "github.event_name == 'push' && github.ref == 'refs/heads/master'"
|
if: "github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'"
|
||||||
steps:
|
steps:
|
||||||
- name: checkout the source code
|
- name: checkout the source code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ jobs:
|
|||||||
name: try
|
name: try
|
||||||
env:
|
env:
|
||||||
<<: [*shared-ci-variables, *prod-variables]
|
<<: [*shared-ci-variables, *prod-variables]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/try'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/try' && github.repository == 'rust-lang-ci/rust'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
name:
|
name:
|
||||||
@@ -299,7 +299,7 @@ jobs:
|
|||||||
name: auto
|
name: auto
|
||||||
env:
|
env:
|
||||||
<<: [*shared-ci-variables, *prod-variables]
|
<<: [*shared-ci-variables, *prod-variables]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/auto'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
name:
|
name:
|
||||||
@@ -677,7 +677,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
<<: [*prod-variables]
|
<<: [*prod-variables]
|
||||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'rust-lang-ci/rust'
|
||||||
steps:
|
steps:
|
||||||
- name: checkout the source code
|
- name: checkout the source code
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user