Skip to content

Commit 02743a9

Browse files
authored
GHA: Minor tweaks (#458)
- Renamed checks.yml to ci.yml - Add concurrency control to ci to auto-cancel outdated ci runs - Publish releases to pypi instead of test.pypi.org
1 parent 5b7d1e2 commit 02743a9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/checks.yml .github/workflows/ci.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
branches:
1111
- main
1212

13+
concurrency:
14+
group: ci-${{ github.ref }}-1
15+
cancel-in-progress: true
16+
1317
jobs:
1418
checks:
1519
runs-on: "ubuntu-latest"

.github/workflows/github-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ jobs:
1010
uses: ./.github/workflows/publish-release.yml
1111
secrets: inherit # pass all secrets (required to access secrets in a called workflow)
1212
with:
13-
pypi_target: "test.pypi.org"
13+
pypi_target: "pypi.org"
1414
repo_release_ref: ${{ github.ref_name }}

0 commit comments

Comments
 (0)