Skip to content

Commit

Permalink
Do release when Github release is released (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokorin authored Jul 7, 2024
1 parent 5694472 commit b7b7f9f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Release

on:
push:
branches:
- release/**
tags:
- v*
release:
types:
- released
env:
PIP_CACHE_DIR: .cache/pip
HATCH_CACHE_DIR: .cache/hatch
Expand All @@ -15,7 +13,7 @@ env:
HATCH_INDEX_REPO: main
HATCH_INDEX_AUTH: ${{ secrets.PYPI_TOKEN }}
jobs:
test-publish:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
HATCH_INDEX_REPO: test
HATCH_INDEX_AUTH: ${{ secrets.TEST_PYPI_TOKEN }}
jobs:
test-publish:
test-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit b7b7f9f

Please sign in to comment.