diff options
author | Joris Roovers <joris.roovers@gmail.com> | 2023-03-07 11:30:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 11:30:15 +0100 |
commit | 02743a916612d81e78c98e077a73b96bb3bb8f37 (patch) | |
tree | 3e48c15abbbe15ba4bda714479b0262c08038e4b | |
parent | 5b7d1e252368e8a3ebd2c12ee9d1264d2f9c7f9c (diff) |
GHA: Minor tweaks (#458)v0.19.0rc2
- 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
-rw-r--r-- | .github/workflows/ci.yml (renamed from .github/workflows/checks.yml) | 4 | ||||
-rw-r--r-- | .github/workflows/github-release.yml | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/.github/workflows/checks.yml b/.github/workflows/ci.yml index 1d0554a..139c56a 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,10 @@ on: branches: - main +concurrency: + group: ci-${{ github.ref }}-1 + cancel-in-progress: true + jobs: checks: runs-on: "ubuntu-latest" diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 0c86ec8..e5e40c9 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -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 }} |