mirror of
https://github.com/facebookresearch/faiss.git
synced 2025-06-03 03:28:47 +08:00
Summary: Pull Request resolved: https://github.com/facebookresearch/faiss/pull/4162 https://docs.github.com/en/actions/sharing-automations/reusing-workflows#using-inputs-and-secrets-in-a-reusable-workflow Seems like we need `secrets` in the workflow and in the caller. Reviewed By: asadoughi Differential Revision: D68965899 fbshipit-source-id: 25580471c727d5ae86c4e7dd4c6ea72b388b1acf
18 lines
407 B
YAML
18 lines
407 B
YAML
name: Build
|
|
on:
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
push:
|
|
tags:
|
|
- 'v*'
|
|
jobs:
|
|
build-pull-request:
|
|
uses: ./.github/workflows/build-pull-request.yml
|
|
build-release:
|
|
uses: ./.github/workflows/build-release.yml
|
|
secrets:
|
|
ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN }}
|
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
|