Skip to content

Commit dcc286b

Browse files
committed
chore(ci): use new pact-python/* tags
Signed-off-by: JP-Ellis <[email protected]>
1 parent c15a38e commit dcc286b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: build
44
on:
55
push:
66
tags:
7-
- v*
7+
- pact-python/*
88
branches:
99
- main
1010
pull_request:
@@ -51,13 +51,10 @@ jobs:
5151
# Fetch all tags
5252
fetch-depth: 0
5353

54-
- name: Set up Python
54+
- name: Set up uv
5555
uses: astral-sh/setup-uv@7edac99f961f18b581bbd960d59d049f04c0002f # v6.4.1
5656
with:
5757
enable-cache: true
58-
cache-dependency-glob: |
59-
**/pyproject.toml
60-
**/uv.lock
6158

6259
- name: Install Python
6360
run: uv python install ${{ env.STABLE_PYTHON_VERSION }}
@@ -145,7 +142,7 @@ jobs:
145142
# As this requires emulation, it's not worth running on PRs or main
146143
if: >-
147144
github.event_name == 'push' &&
148-
startsWith(github.event.ref, 'refs/tags/v')
145+
startsWith(github.event.ref, 'refs/tags/pact-python/')
149146
runs-on: ${{ matrix.os }}
150147
strategy:
151148
fail-fast: false
@@ -207,7 +204,7 @@ jobs:
207204

208205
if: >-
209206
github.event_name == 'push' &&
210-
startsWith(github.event.ref, 'refs/tags/v')
207+
startsWith(github.event.ref, 'refs/tags/pact-python/')
211208
runs-on: ubuntu-latest
212209
environment:
213210
name: pypi

0 commit comments

Comments
 (0)