Skip to content

build workflow for PRs #4

build workflow for PRs

build workflow for PRs #4

Workflow file for this run

name: Build
on:
pull_request:
types: [opened, reopened]
branches:
- 'dev'
jobs:
build-upload-wheel:
uses: OpenBMB/BMTrain/.github/workflows/build_whl.yml@workflow
secrets:
DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
publish:
needs: build

Check failure on line 18 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 18, Col: 12): Job 'publish' depends on unknown job 'build'.
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set Up the Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Download distribution files
uses: actions/download-artifact@v2
with:
name: dist
path: dist