Skip to content

Commit

Permalink
Update PyPI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored Jun 2, 2024
1 parent 0d7bd89 commit f628eaf
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/PyPI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,24 @@ permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: Trigger target workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const { owner, repo } = context.repo;
const workflow_id = 'tests.yml'; // or use the workflow ID if known
const ref = 'main'; // the branch you want to run the workflow on
await github.actions.createWorkflowDispatch({
owner,
repo,
workflow_id,
ref,
});
linux:
runs-on: ${{ matrix.platform.runner }}
strategy:
Expand Down

0 comments on commit f628eaf

Please sign in to comment.