Skip to content

Commit

Permalink
! pypi workflows filters modification
Browse files Browse the repository at this point in the history
  • Loading branch information
ALERTua committed Jul 28, 2024
1 parent 66df602 commit af3425d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/python-dev-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ name: TestPyPi
on:
push:
branches:
# - main
- dev
tags:
- "v*"

workflow_dispatch:

Expand All @@ -18,8 +15,8 @@ concurrency:

jobs:
build:
if: ${{ startsWith(github.event.head_commit.message, 'v') }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build and publish to pypi
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: PyPi

on:
workflow_dispatch:
push:
branches:
- main
tags:
- "v*"

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
Expand Down

0 comments on commit af3425d

Please sign in to comment.