We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c065ae commit faa3d91Copy full SHA for faa3d91
.github/workflows/publish-dts-sdk.yml
@@ -1,16 +1,13 @@
1
name: Publish Durable Task Scheduler to PyPI
2
3
-# on:
4
-# push:
5
-# tags:
6
-# - 'azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
7
-
8
on:
9
push:
10
branches: [ "main" ]
11
pull_request:
12
13
+ push:
+ tags:
+ - 'azuremanaged-v*' # Only run for tags starting with "azuremanaged-v"
14
15
jobs:
16
lint:
@@ -72,6 +69,7 @@ jobs:
72
69
pytest -m "dts" --verbose
73
70
74
71
publish:
+ if: startsWith(github.ref, 'refs/tags/azuremanaged-v') # Only run if a matching tag is pushed
75
needs: run-docker-tests
76
runs-on: ubuntu-latest
77
steps:
0 commit comments