Skip build-release-packages CI job in forks (#1438)
The CI job was introduced in #1363, we should skip it in forks. Signed-off-by: Binbin <binloveplay1314@qq.com>
This commit is contained in:
parent
5b3afc1b88
commit
3318ea0293
2
.github/workflows/build-release-packages.yml
vendored
2
.github/workflows/build-release-packages.yml
vendored
@ -17,6 +17,7 @@ jobs:
|
|||||||
# This job provides the version metadata from the tag for the other jobs to use.
|
# This job provides the version metadata from the tag for the other jobs to use.
|
||||||
release-build-get-meta:
|
release-build-get-meta:
|
||||||
name: Get metadata to build
|
name: Get metadata to build
|
||||||
|
if: github.repository == 'valkey-io/valkey'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
version: ${{ steps.get_version.outputs.VERSION }}
|
version: ${{ steps.get_version.outputs.VERSION }}
|
||||||
@ -45,6 +46,7 @@ jobs:
|
|||||||
|
|
||||||
generate-build-matrix:
|
generate-build-matrix:
|
||||||
name: Generating build matrix
|
name: Generating build matrix
|
||||||
|
if: github.repository == 'valkey-io/valkey'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
x86_64-build-matrix: ${{ steps.set-matrix.outputs.x86_64-build-matrix }}
|
x86_64-build-matrix: ${{ steps.set-matrix.outputs.x86_64-build-matrix }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user