Skip to content

为什么paddle inference编译会失败 #22

为什么paddle inference编译会失败

为什么paddle inference编译会失败 #22

Workflow file for this run

name: Re-run
on:
issue_comment:
types: [created]
jobs:
re-run:
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body, '/re-run') }}
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Rerun all failed jobs
if: ${{ contains(toLower(github.event.comment.body), 'all-failed') }}

Check failure on line 16 in .github/workflows/re-run.yml

View workflow run for this annotation

GitHub Actions / Re-run

Invalid workflow file

The workflow is not valid. .github/workflows/re-run.yml (Line: 16, Col: 13): Unrecognized function: 'toLower'. Located at position 10 within expression: contains(toLower(github.event.comment.body), 'all-failed') .github/workflows/re-run.yml (Line: 26, Col: 13): Unrecognized function: 'toLower'. Located at position 10 within expression: contains(toLower(github.event.comment.body), 'approval')
uses: ./.github/actions/rerun-workflow
with:
PR_ID: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
JOB_NAME: 'all-failed'
- name: Rerun bypass for approval
if: ${{ contains(toLower(github.event.comment.body), 'approval') }}
uses: ./.github/actions/rerun-workflow
with:
PR_ID: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
JOB_NAME: 'Check Approval'
- name: Rerun bypass for codestyle-check
if: ${{ contains(toLower(github.event.comment.body), 'codestyle') }}
uses: ./.github/actions/rerun-workflow
with:
PR_ID: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
JOB_NAME: 'Check bypass for codestyle / Check bypass'
- name: Rerun bypass for clone
if: ${{ contains(toLower(github.event.comment.body), 'clone') }}
uses: ./.github/actions/rerun-workflow
with:
PR_ID: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
JOB_NAME: 'Clone-linux / Clone Paddle'
- name: Rerun bypass for sot
if: ${{ contains(toLower(github.event.comment.body), 'sot') }}
uses: ./.github/actions/rerun-workflow
with:
PR_ID: ${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
JOB_NAME: 'Check bypass for SOT / Check bypass'