mirror of
https://github.com/flutter/samples.git
synced 2026-03-23 21:01:49 +00:00
Do not run GitHub workflows on forks (#1107)
This commit is contained in:
3
.github/workflows/beta.yml
vendored
3
.github/workflows/beta.yml
vendored
@@ -20,6 +20,7 @@ jobs:
|
||||
# need to test.
|
||||
stable-tests-on-beta:
|
||||
runs-on: ${{ matrix.os }}
|
||||
if: github.repository == 'flutter/samples'
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
@@ -38,6 +39,7 @@ jobs:
|
||||
# channel.
|
||||
android-build:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'flutter/samples'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@9519cf1382ac8dc61ad461f7f7cb45f033220189
|
||||
@@ -52,6 +54,7 @@ jobs:
|
||||
# channel.
|
||||
ios-build:
|
||||
runs-on: macos-latest
|
||||
if: github.repository == 'flutter/samples'
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-java@9519cf1382ac8dc61ad461f7f7cb45f033220189
|
||||
|
||||
Reference in New Issue
Block a user