Skip to content

Commit

Permalink
GHA: Minor tweaks (#458)
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
jorisroovers committed Mar 7, 2023
1 parent 5b7d1e2 commit 02743a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/checks.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ on:
branches:
- main

concurrency:
group: ci-${{ github.ref }}-1
cancel-in-progress: true

jobs:
checks:
runs-on: "ubuntu-latest"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/github-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
uses: ./.github/workflows/publish-release.yml
secrets: inherit # pass all secrets (required to access secrets in a called workflow)
with:
pypi_target: "test.pypi.org"
pypi_target: "pypi.org"
repo_release_ref: ${{ github.ref_name }}

0 comments on commit 02743a9

Please sign in to comment.