Skip to content

Commit bc2179b

Browse files
committed
fix: adjust actions
1 parent 3c83acb commit bc2179b

2 files changed

Lines changed: 9 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,18 @@ on:
66
- "v*.*.*"
77

88
jobs:
9+
tests:
10+
uses: ./.github/workflows/tests.yml
11+
secrets: inherit
12+
913
release:
14+
needs: tests
1015
runs-on: ubuntu-20.04
1116

1217
steps:
1318
- name: Checkout code
1419
uses: actions/checkout@v4
1520

16-
- name: Run Tests Workflow
17-
uses: ./.github/workflows/tests.yml
18-
1921
- name: Set up Python
2022
uses: actions/setup-python@v5
2123
with:

.github/workflows/tests.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
name: tests
22

33
on:
4-
- push
5-
- pull_request
6-
- workflow_call
4+
push:
5+
pull_request:
6+
workflow_call:
7+
workflow_dispatch:
78

89
jobs:
910
tests:

0 commit comments

Comments
 (0)