Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
TheR1D committed Apr 6, 2024
1 parent 9b0bfa2 commit 9bcfb0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- main
tags:
- '[0-9]+.[0-9]+.[0-9]+'
if: "startsWith(github.ref, 'refs/tags/')"

jobs:
build:
runs-on: ubuntu-latest
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes

steps:
- name: Checkout
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ on:
push:
branches:
- main
paths:
- 'sgpt/__version__.py'
if: "startsWith(github.ref, 'refs/tags/')"

jobs:
build:
name: Build distribution
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
runs-on: ubuntu-latest

steps:
Expand All @@ -34,7 +34,7 @@ jobs:

publish-to-pypi:
name: Publish to PyPI
if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
# if: startsWith(github.ref, 'refs/tags/') # only publish to PyPI on tag pushes
needs:
- build
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9bcfb0b

Please sign in to comment.